|
|
|
<html> <head> <title> PHP Test </title> </head> <body> <HR> <B> <?php print("Hello World !\n"); ?> </B> <HR> </body> </html> |
When the PHP program is executed, the execution will produce the following output:
<html>
<head>
<title> PHP Test </title>
</head>
<body>
<HR>
<B>
Hello World !
</B>
<HR>
</body>
</html>
|
And this webpage is returned to the user's browser and displayed...
Type this URL into your browswer: http://holland.mathcs.emory.edu/~cs377001/PHP/PHP-web/hello.php |
Right click on the webpage and select View Page Source to see the text file
ssh -X yourNETID@holland php /home/cs377001/public_html/PHP/PHP-web/hello.php |
The output of this stand-alone PHP program is used as a webpage !!!