Start with a simple PHP program.

Welcome to the PHP world. You have successfully entered into a very beautiful place. really it is true !!!! you are a very lucky man !!!

First we will take some coffee and we will discuss about our php !!! 🙂

PHP is a scripting language, originally designed for creating dynamic web pages. some people telling php means ‘personal home page’. But it stands for PHP: Hypertext Preprocessor. please don’t think about it more.. it is very simple.

(To study some history or more about our PHP. Just u can go with our wikipedia…. http://en.wikipedia.org/wiki/PHP)

PHP is an open source software so you can free to download and use !!! you have full freedom !!!! you are the boss 🙂

( Easily you can download from the official PHP resource: www.php.net)

It runs on different platforms. so don’t take any tension about server !!! you can take Windows, Linux, Unix or as you like !!!!

Our PHP is Compatible with almost all servers(Apache, IIS, etc.) we used today. So that also ok 🙂

PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.). Oh you know about database ? It is a collection of data that is organized so that its contents can easily be accessed, managed !!! Just think.. it is using for store some data…. just like a our personal diary…..

( if you have a windows machine then you can just download WAMP server (one .exe file) and install it, it includes all important things we want !!! …. http://www.wampserver.com/)

Now our PHP is ready !!!! then we need to do something !!!! so we need one PHP editor. first you can take a note pad.

( More editors avialbale in net…..http://en.wikipedia.org/wiki/List_of_PHP_editors )

and Just you can write a welcome message,

(All php page we using ‘<?php’ open tag and ‘?>’ close tag. For Output one or more strings u can use ‘echo’ )

<?php echo “welcome”; ?>

and save as a PHP file and named as index.php (.php is our extension “) to server root path ( If wamp sever, C:\wamp\www )

Just open http://localhost/index.php 🙂 Oh very Nice !!!!! Printed message “Welcome”

(localhost is the host, you can use your website address as host)

hi hi 🙂 one of the famous web site is ready !!!!! with www.yourname.com…….

Now you are the owner of a website…….amazing….you are a lucky man !!!!

from today onwards you can enjoy with PHP.

@ http://www.php.net/manual/en/getting-started.php

For More Tutorials Our friend will help you more ,

# http://www.w3schools.com/php/php_intro.asp