Help with PHP please

Discussion in 'PHP' started by kwkpr, Aug 13, 2007.

  1. #1
    Hi all have got WAMP5 also got PHP script how do i get the script to load like a web site on WAMP so i can edit the site? Have put files in htdocs but its still code.
    Any help would be appreciated
     
    kwkpr, Aug 13, 2007 IP
  2. Webray

    Webray Active Member

    Messages:
    469
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    PHP server may not be running.

    How are you accessing that file?

    Assuming that htdocs is the root dir, then http://localhost/ would be the method to access.

    Did you have any Firewall issues during install?
     
    Webray, Aug 13, 2007 IP
  3. kwkpr

    kwkpr Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply could you explain what you mean in more detail i am new to all this and dont understand what you say in your post :confused::eek:
    Thanks
     
    kwkpr, Aug 13, 2007 IP
  4. Webray

    Webray Active Member

    Messages:
    469
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #4
    Look...

    If you can't answer the question/s I've asked, then there's nothing I can do to help. Try xampp, it's an easier product to work with.

    Ray
     
    Webray, Aug 13, 2007 IP
  5. kwkpr

    kwkpr Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sorry
    I have no probs with firewall

    PHP server how do you enable? can it be done from the tool bar icon?

    I accesed the file by going to apache folder then pasting script files into Htdocs

    Thanks again:eek:
     
    kwkpr, Aug 13, 2007 IP
  6. coderlinks

    coderlinks Peon

    Messages:
    282
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No he means how did you try to run the script? If you just double click the script file, it wont run. To run it you have to paste it in the htdocs folder. Then visit the page:

    http://localhost/name_of_your_script.php

    in your browser (FireFox or IE or whatever you use).

    ~
    Thomas
     
    coderlinks, Aug 14, 2007 IP