This is the hello world for the php tutorial section. PHP is another Object Orientation language, to get php, if you download it from http://www.php.net and you are able to use with http://www.apache.org or with MS Tnternet Information Services http://www.microsoft.com/WindowsServer2003/iis/default.mspx.
Once you have php installed, if you save this
---
<?php
echo "Hello World!";
?>
---
as phphelloworld.php within the correct directory for the php engine to use the file.
Once you point your browser to the file e.g.
http://localhost/phpdirectory/phphelloworld.php
and the output will be "Hello World!"
Hope that helps :) |