How Do You View PHP Files on Your Own Computer?

Hi everyone, I am working with PHP galleries, but have to upload the file to my website every time I want to look at it. This is very annoying if you want to view the images on your own computer! What is the best way of viewing and testing the files on your own computer?
If it matters I am using a Mac and have Safari and Firefox. I googled this and the results were very confusing! Thanks for your help.

When XAMPP is open if you go to Status (on the left) it says this …
MySQL database
DEACTIVATED
PHP
ACTIVATED
Perl
ACTIVATED
Common Gateway Interface (CGI)
ACTIVATED
Server Side Includes (SSI)
ACTIVATED
PHP extension »OPcache«
DEACTIVATED
see FAQ
PHP extension »OCI8/Oracle«
DEACTIVATED
see FAQ
I don't know if that's good or bad!

Similar Messages

  • How do you view the size of your Ibook library? How do you view how many books are in your library?

    How do you view the size of your Ibook library? How do you view how many books are in your library?

    Open the iBooks app. All your iBooks should load there.
    You can see the file size for each iBook by clicking List from the menu bar top of the iBooks window.
    message edited by:  cs

  • How do you view raw files on an iMac G5?!

    Hello there,
    I just recently received my first computer for 30 bucks. It's my first experience getting used to a home computer. I extracted some some rar files with "Unrar" but now I have these raw files, which won't view because I don't have the equipment it seems. I suppose "raw" means a type of photo file? Anyways I can't view these files until I get some kind of raw viewer. I've tried a handful of raw viewers but none of them really work. Most look like these funny documents that have no setup and I tried "fastrawviewr" which keeps saying archiving when I click it... Whatever archive means.. I also have this icon when I first got my iMac G5 name Macintosh hd, which was constantly trying to archive fastrawviewer. I have been stuck for 3 days now puzzled on how to view these raw files. Id appreciate some assistance, I can't continue with my project until I figure out how to view these raw files.

    Not sure if you could use a good software editor to convert or manipulate such
    large files in an older Mac. Usually RAW files take considerable space, use a
    ton of system resources, and require extra storage, memory RAM + larger CPU...
    And graphic processor with its own video RAM.
    •How to identify iMac models - Apple Support
    So with an old computer that may or may not be viable in its own limitation, you
    may have some time of it, to make use of it as you seek to do a project w/o much
    idea of what software still may exist.
    If you have a device that creates RAM image files, see if there is a way for it to
    make both jpeg and RAW or less huge files. Or only use the jpeg files and save
    the larger RAW files for some other time when you get a later model computer.
    •Graphic Converter - Lemke software:
    http://www.lemkesoft.de/en/download/
    see Graphic Converter version 6 or version 7
    There is a software by the name Graphic Converter available (may run in demo)
    that is a shareware. Note on their download page options and versions, the one
    you'd need for use with the old PowerPC based Mac would be of a vintage that
    may or may not be available. Their page should have an indication. While I had
    an old version of Graphic Converter for Mac, for a Tiger 10.4.11 system, I didn't
    use it much. Instead I used a combination of ToyViewer for Mac and the native
    Preview application to edit images. Graphic Converter has other capabilities.
    Not sure about the viability of or availability of the named software listed here:
    http://www.pure-mac.com/graphics.html as most titles and their home pages
    may not be available or could have survived but only for Intel-based late Macs.
    Some cameras came with software. Nikon offered a trial run of something they
    later sold, but that was limited in how it could work; later versions of the software
    won't run on older OS X systems. And huge files require extra system resources.
    Depending on the build model series Mac  you may be able edit some images OK.
    So what are the system specifications and available resources, by the numbers?
    You could look into everymac.com and/or get mactracker.ca database to compare
    your old iMac G5 specs to see what one you have. Also, you could go to a site &
    use it to see specs https://www.powerbookmedic.com/identify-mac-serial.php
    For certain software to run, the computer may need some kinds of hardware upgrade.
    Or some of the tasks could be well beyond the current status of the device.
    In any event...
    Good luck & happy computing!

  • How can i view php files in english

    I have some files saved in godaddy that are in code. I cant read code. But i can read english. My developer screwed me. I dropped my external hard drive and can view my files. Does anyone know how?

    You are welcome. Ajmeet -
    Are you on a MAC or a Windows computer.?
    Can you copy or tranfer the files from GoDaddy to a folder on your personal computer?
    On your computer, any file can be viewed.
    PHP code is plain text and can be read in any text editor like Notepad or Textpad.
    In Dreamweaver they can be read in Code View.
    HTML code can be viewed in any browser
    In Dreamweaver they can be read in all views.
    Image files like JPG GIF PNG can be displayed in your browser or in any graphics program like Photoshop or Fireworks.

  • How Do You View PHP in DW and Safari with a MAMP Server?

    It almost works! I have just installed and set up MAMP. I haven't made a MySQL database and user account yet, (I'm not sure if it will make any difference if I do) but I followed the instructions - http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html - up to that point. And I have had a problem!
    The test file in the exercise is a php file which tells you the time, it works in dreamweaver (when you select live view) But when you put the file into a browser it does not work! What is going wrong here? Can anybody help?
    Also, my other php files display in Dreamweaver live view but not in either browser (Safari or Firefox)!! Annoying!

    Here is the code …
    <!doctype html> 
    <html> 
    <head> 
    <meta charset="utf-8"> 
    <title>Gallery_Test</title> 
    <!--[if lt IE 9]> 
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> 
    <![endif]--> 
    <!--LATEST JQUERY CORE LIBRARY--> 
    <script src="http://code.jquery.com/jquery-latest.min.js"></script> 
    <!--FANCYBOX plugins--> 
    <link href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.css" rel="stylesheet" media="screen"> 
    <script src="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.4/jquery.fancybox.pack.js"></script> 
    <style> 
        padding: 0; 
        -moz-box-sizing: border-box; 
        -webkit-box-sizing: border-box; 
        box-sizing: border-box; 
    h1{
        font-family: Georgia, "Times New Roman",Times, Serif;
      text-align:center;
        font-size: 18px;
        font-weight: bold;
    h2 {
        font-family: Georgia, "Times New Roman", Times, Serif;
      text-align:center;
        font-size: 13px;
        font-weight: normal;
    body {
      margin: 0;
      padding: 0;
      background: #6C9;
      color: #333;
      font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
      font-siz: 100%;
      background-color: #003;
    #wrapper { 
        width: 1000px; /**adjust width in px or %**/ 
        margin: 0 auto; /**with width, this is centered**/ 
    header { 
        background: #355DA0; 
        width: 100%; 
        margin: 0 auto; 
        color: #FFF; 
    #inner_wrapper { 
        background: #3366FF; 
        overflow: hidden; /**float containment**/ 
    aside { 
        float: left; 
        width: 11%; 
    section { 
        background: #FFF; 
        width: 78%; 
        float: left; 
        margin: 0 auto; 
    /**Begin image gallery styles**/ 
    .thumbs { /*divs that hold gallery pictures*/ 
        float: left; 
        margin: 0.5%; /*space between thumbnails*/ 
        border: 1px dotted #CCC; 
        /**same size images**/ 
        width: 90px; 
        height: 99px;
    .thumbs a { /* in every .thumbs div there is a hyperlink exactly the size of the container */ 
        width: 90px; 
        height: 99px; 
        text-indent: -99999px; /*move text links off screen*/ 
        display: block; 
        outline: none; 
    /**end gallery styles**/ 
    footer { 
        clear: both; 
        background: #222; 
        width: 100%; 
        color: #FFF; 
        margin: 0 auto 
    </style> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head> 
    <body link="#FFFFFF" vlink="#FFFFFF" alink="#FF0066"> 
    <div id="wrapper"> 
    <header> <h1><a href="index_01.html">Return to Index</a></h1> 
    <h2>My Photos - [72 images 2000 x 1330] - 5th of September  2014</h2> 
    </header> 
    <div id="inner_wrapper"> 
    <aside> </aside> 
    <section>
      <?php 
    $directory = 'gallery/thumbs_1'; //path to your thumbnails 
    $link = 'gallery/slides_1'; //path to your full-sized images 
    $allowed_types = array('jpg','jpeg','gif','png'); 
    $aFiles = array(); 
    $dir_handle = @opendir($directory) or die("There is an error with your image directory!"); 
    while ($file = readdir($dir_handle)) //traverse through files 
    if($file=='.' || $file == '..') continue; //skip links to parent directories 
    $file_parts = explode('.',$file); //split filenames and put each part in an array 
    $ext = strtolower(array_pop($file_parts)); //last element is the file extension 
    $title = implode('.',$file_parts); //what's left is the filename 
    if(in_array($ext,$allowed_types)) 
    $aFiles[] = $file; //filename array 
    closedir($dir_handle); //close directory 
    natsort($aFiles); // natural sort by filename 01, 02, 10, 20 
    $i=0; 
    foreach ($aFiles as $file) { 
    $file_parts = explode('.',$file); //split filenames and put each part in an array 
    $ext = strtolower(array_pop($file_parts)); //last element is the file extension 
    $title = implode('.',$file_parts); //what's left is the filename 
    $title = htmlspecialchars($title); //make it html-safe 
    echo '<div class="thumbs" style="background:url('.$directory.'/'.$file.') no-repeat 50% 50%"> 
    <a class="fancybox" data-fancybox-group="gallery" href="Gallery/slides/'.$file.'" title="'.$title.'">'.$title.'</a> 
    </div>'; 
    $i++; //increment the image counter 
    ?> 
    <!--end gallery-->  
    </section> 
    <aside> </aside> 
    <!--end inner_wrapper--></div> 
    <footer> </footer> 
    <!--end wrapper--></div> 
    <!--FancyBox function code-->  
    <script> 
    $(document).ready(function() { 
        $('.fancybox').fancybox(); 
    </script> 
    </body> 
    </html>

  • How do you view .gif files??

    ok, there is probably some very simple solution to this, but i need help on viewing .gif files on mac because Preview will not show them. i heard quicktime works, but i am trying to add text to the gif. help?

    Pandapanda96 wrote:
    ok, there is probably some very simple solution to this, but i need help on viewing .gif files on mac because Preview will not show them. i heard quicktime works, but i am trying to add text to the gif. help?
    It does!  Why not try it after you add your text?

  • How do you view .wmp files in QuickTIme on an iMac?

    I have an iMac G5 and I need to view some windows media player files. I can't seem to convert them to a format that is viewable on my mac. Anyone know how to do this?

    The 10 dollar plugin from this place should play many of them in QT. Be aware that there are some wmv files that even that plugin can't play, particularly if they utilize the Microsoft Dignital Rights Management (DRM).
    http://www.flip4mac.com/wmv.htm
    This freeware viewer will also play some wmv files: VLC

  • How do you view books on IPod classic?

    How can you view pdf files on the IPod? I know about IPod Notes, but I am not trying to convert all of my .pdf books to .txt books, this would take forever, and I lose the photos that are incorporated in the books. (Is there a program for that??)
    Message was edited by: Cyenthies

    Hello Cyenthies,
    And welcome to Apple Discussions!
    The short answer is that you cannot. Sorry.
    B-rock

  • How do you remove duplicate images from your all images file on your mac desktop

    How do you remove duplicate images from your all images file on your mac desktop?

    Don't under any circumstances.
    All images is not a file. It's not a place. It's a list. Specifically, it's the result of an instruction: List all the images on my machine.
    When you delete something from All Images, then you have no idea what you're removing from where - files that are part of word processing docs, interface elements, corrupting your iPhoto Library. There are many perfectly legitimate reasons why you might have what appears to be duplicates but are not.
    Rule number One: Never delete anything on your machine whose job you don't understand.

  • How do you view your photo stream?

    If you are away from a computer, how do you view your photos on your photo stream?

    You'd need an Apple mobile device running iOS 7 and logged into your iCloud account.
    If you create a Shared Photo Stream and know the URL of it you can access the photos from any computer via its browser.

  • How do you view your call history?

    How do you view your recent calls?

        Reedtown91,
    We can help you find your call history! It's easy through My Verizon! You can simply log in here http://bit.ly/xB4iTc  and then click on View Bill>Calls, Messages & Data tab. You'll be able to pick both the month, phone number, and what kind of usage you want to view right from the next screen!
    SarahO_VZW
    Follow us on Twitter @VZWSupport

  • How do you view pictures on your computer from your Iphone?

    how do you view pictures and videos on your computer from your iphone?

    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support -Syncing
    http://www.apple.com/support/ipad/syncing/

  • New to Dreamweaver. Can I open/ view .php files with this application?

    Recently downloaded a file that had the extension; .php. Tried opening it on my desktop and couldn't. Was told the Dreamweaver software/ application from adobe could help. Please, educate me on what to do in order to view these files.

    PHP files are all code.  You need a local testing server to view PHP files locally in your browser.   Dreamweaver can help you view the code, but you still need a local testing server to preview it.
    Get one of these testing servers for you OS and install it.
    WAMP for Windows
    http://www.wampserver.com/en/
    XAMPP for Windows
    http://www.apachefriends.org/en/xampp-windows.html
    XAMPP for Mac
    http://www.apachefriends.org/en/xampp-macosx.html
    MAMP for Mac
    http://www.mamp.info/en/downloads/index.html
    Setting up a PHP environment in Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    Nancy O.

  • I'm new to the Apple products. How can I view pdf files since Apple and Adobe don't play together?

    I'm new to the Apple products. How can I view pdf files and videos since Apple and Adobe don't play together? Also, what operating system does the iPhone use? I'm a Windows person.

    You may want to download and read the manual for your phone. It may answer a lot of the basic questions.
    http://support.apple.com/manuals/#iphone
    There is an app on your phone called "Mail". Yes, it's for reading your email.
    Best of luck.

  • How do you delete duplicate tracks off your playlist?!

    How do you delete duplicate tracks off your playlist - everytime I connect my hard-drive it adds another of every single track - argh!!!!
    I remember there being a 'delete duplicate tracks' option on a much older version of itunes - is this still available and if not if you opt for the 'consolidate library' option will this automatically save to you computer as I have too much music for my laptops memory capacity! On top of that how can I stop this issue from contantly re-occuring everytime I connect my hard-drive?! Apologies if im being thick here.... xX*laura*Xx

    You are doing something wrong, iTunes doesn't add tracks to the library unless you ask it to, so there is a problem somewhere in your workflow which is creating the duplicates. For example, having iTunes set up to "Copy files to the iTunes Media folder when adding to library" and then repeatedly adding in a folder from an external drive would do it.
    Once you've worked out how to stop creating new duplicates you can look at the issue of deduping what you already have. See this recent post for some thoughts and a script that may prove useful.
    tt2

Maybe you are looking for

  • 1st Gen iTouch not recognized by iTunes on Laptop

    I have a 1st Gen iTouch that I cannot seem to get iTunes to recognize. About a week ago I re-named it in iTunes, cleaned it up, and performed a sync. Used it until the battery was low, and re-charged using my wall charger. Now, when I connect to the

  • Export in QuickTime with "Only Hyperlink"

    Hallo! I've a problem! When export in QuickTime from KeyNote, setting "Only hyperlink", the keys with the action back do not only work while next it works. This happens even if inserts the numeration of the page. Can you help me??!!! Thank you very m

  • Shortcut broken on AIR application update

    When I push out an update for one of my desktop AIR apps that a client may have installed on a Windows 7 or 8 machine, the shortcuts to the app become broken and therefore useless. This gives my clients the appearance that my application is busted wh

  • Problem Installing iStudio 10g on my Laptop

    I am having problems installing iStudio 10g on my laptop (Windows XP). The install is erroring out at a point where it asks for the hub information, it says "An error occurred while validating the password of the ichub schema". I know for sure that I

  • It's not letting me download music I've preordered, help?

    I preordered an album, but when it came out it never downloaded onto my device and when I go try buy it again, instead of the price and option to download it just says 'purchased' and won't let me re-buy it or anything, help?