August 6th, 2000, 05:28 PM
I have Created my First PHP Page
<HEAD><TITLE>Our first PHP3.0 script</TITLE></HEAD>
<CENTER>Our first PHP3.0 script</CENTER>
$today = date("Y-m-d");
PRINT "<CENTER>Today is: $today.</CENTER>";
When I View the page in Browser I cannot see what is printed in the Browser . Can anyone take sometime and tell me why is it not working ?
August 7th, 2000, 10:15 AM
Worked fine for me: http://www.ledscripts.com/asdf.php3
That's exactly what you had.
That server's running php4, so manybe php3 had as bug that doesn't run the code right or something.
August 7th, 2000, 01:38 PM
You have to have a server running on the machine. A server that support PHP. Have the server running, and enter in the browser "localhost" to access it through your server.
the thing is that our browsers doesn't know any PHP. It's the server that's translating these codes into HTML.