Tutorial - PHP - Hello World


Coding Friends Tutorial Index - > PHP

Author Ian - Tutorial Posts = 62
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 :)
Creation of cool tutorials :)
User Name Password
Copyright@CodingFriends, 2005-2006. All Rights Reserved.
Home | Forums | Tutorials | Users
RSS Feeds - Global Global CodingFriends RSS Feed - Tutorials Tutorials CodingFriends RSS Feed - Forums Forums CodingFriends RSS Feed - News News CodingFriends RSS Feed
Users
Login|Password problem| Register here

Tutorials
Tutorials Home| C/C++| C#/Mono| Java| Javascript| PHP| Ruby| SQL| (X)HTML/CSS| VB| Linux| Windows

Forum
Forum Home

Projects
3D Game

Site
Home| About me| Links| FAQ

Search