|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I have Created my First PHP Page
<HTML> <HEAD><TITLE>Our first PHP3.0 script</TITLE></HEAD> <BODY> <CENTER>Our first PHP3.0 script</CENTER> <? $today = date("Y-m-d"); PRINT "<CENTER>Today is: $today.</CENTER>"; ?> </BODY> </HTML> 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 ? Thanks, Bill |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
BillGate,
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. --Ben. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Viewing File in Browser |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|