SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Problems w/ 1st php script

    Forgive the newbie question, but I'm having problems running my first php script (from the book BYO Database Driven Web Site Using PHP & MySQL, 4th ed.

    I've installed WinAmp, and finally gotten the server online. When I load localhost/today.php in Firefox, I get a very brief Download window, then tab after tab after tab of nothing. The URL in the browser address box reads file:///C:/DOCUME~1/DAVIDN~1/LOCALS~1/Temp/today-4.php.

    I've checked, and the today.php file is in the appropriate folder (C:\wamp\www).

    I know what I'm doing wrong must be simple, but the correction so far escapes me.

    Thanks for your assistance.

    DavidEN

  2. #2
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,000
    Mentioned
    101 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    Try that script, if all is well then it should show you information about your php settings
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator

  3. #3
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    That didn't work either. I got a Not found error message.

    I reinstalled WampServer, and noticed that I never got the WampServer home page (Figure 1.7 from the book); instead, I got the "It works!" message. When I select the Localhost menu item at the top of the WampServer menu, I get the same "It works!" message.

    I checked out the help file for WampServer, but my French is not up to the task.

    Thanks.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •