Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot view page 1

Status
Not open for further replies.

Domino2

Technical User
Jun 8, 2008
475
GB
I have made a page in Frontpage 2003, very basic just to test a page

<html>
<head>
<title>My First PHP Script</title>
</head>
<body>
<h4>Example One</h4>
<p><?php echo "Hello World"; ?></p>
</body>
</html>

However if I open windows explorer 6, select open, point to the page, it refuses to open?

I am using the wampserver package. Also tried publishing page in Frontpage, but no change. Also if I select view in browser when in Frontpage the page is blank. All services are running, phpMyAdmin opens etc. Any ideas, thanks
 
However if I open windows explorer 6, select open, point to the page, it refuses to open?

Any error message?

To access PHP pages you need to request them through the webserver. So you should be accessing it somewhat like:


So it gets parsed by the server.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Many thanks. The directory it's in is C:\Wamps\www

If I open Localhost with the wamserver, it opens up a page Server Configuration

Does that make any sense, thanks
 
its probably then going toe be something like




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Excellent, that works. Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top