watson516 wrote:If your wamp server is running then you should make sure that your file is in the correct directory (C:\wamp\www by default). Then just open up a web browser and type in localhost.
Thanks for your prompt reply.
I have saved it in the correct directory only but when I am trying to execute the file by using the localhost command it is displaying the following error page:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
* If you typed the page address in the Address bar, make sure that it is spelled correctly.
* Open the localhost home page, and then look for links to the information you want.
* Click the Back button to try another link.
HTTP 404 - File not found
Internet Information Services
Technical Information (for support personnel)
* More information:
Microsoft Support
Please reply me what the error is and how to detect it?
Thanks in advance!!!