Error message on running script
Posted by: dewydeeee (---.124.99.14.tataidc.co.in)
Date: December 04, 2011 02:26PM

I recently installed Wamp server on my windows machine as I'm starting to learn php. The problem is that when I'm trying to run my first script it is showing me 404 error. First I tried with mozilla that is my default browser then I tried with explorer as I remember selecting it while installing but same problem the page not found error. Please let me know where I went wrong,I have saved my script with .php extension in www directory.

Options: ReplyQuote
Re: Error message on running script
Posted by: habeebullah (---.bolton.ac.uk)
Date: December 06, 2011 02:53PM

Why dont you try a simple HTML file like the one below to test that you have the correct path:

Save the following as "index.html":

<html>
<head><title>Test Page</title></head>
<body><h1>Hello World</h1></body>
</html>


Try that and let us know what happened...

:-)

Options: ReplyQuote
Re: Error message on running script
Posted by: habeebullah (---.bolton.ac.uk)
Date: December 06, 2011 02:54PM

Just to let you know, to access the HTML file above, you would follow the following path in your internet browser:

http:// localhost / index.html

(without the spaces)

:-)

Options: ReplyQuote


Sorry, only registered users may post in this forum.