Results 1 to 3 of 3

Thread: PHP not Working

  1. #1
    Join Date
    Mar 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP not Working

    I installed PHP 5.... and I test the scripts in the root directory and it runs fine (IE) Http://Localhost/ but when i put the script in my page it does not work? Http://Localhost/Web/Site/index.html.

    I am running apache 2.2 server on Windows XP - my first try at PHP. Can anyone help?

  2. #2
    Join Date
    Feb 2008
    Location
    Coventry
    Posts
    103
    Thanks
    5
    Thanked 8 Times in 8 Posts

    Default

    We cant see your localhost web pages unfortunately. It only applies to you, hence the "local" part of localhost.
    You need to put your real URL up. Or you can put your source code in as a post and we can see if we can help with that part.
    Last edited by city_coder; 03-05-2008 at 04:34 PM. Reason: correction in spelling :P

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Are you making sure that you have the .php extension on the file?

    example: index.php not index.html

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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
  •