PHP Tutorials Part1 by Mananpreet


More Info
									Hello Friends, Well all of you know about web languages, there are so many languages now days. For a good website design you must have a good knowledge of any language. And me going to deliver here PHP tutorials. If you have any problem in the tutorials and in PHP then you most welcome any time either in OUG or on my site. Before going through PHP you must have a little knowledge of HTML. Don’t Worry Even if you don’t know HTML, it’s very easy and simple language. Even if you googling for HTML then easily you learn and more over me also give you some basic intro about HTML during these tutorials. Let’s start some constructive work!

First Question came in our mind what is PHP! Well, PHP is a server side scripting language similar to ASP originally designed for producing dynamic web pages. Because PHP is going to run on the server not on users browser like JavaScript. Client is going to be the user’s browsers. PHP can be embedded in HTML or use with HTML. PHP code is be input and web pages is the output. And we must save PHP files with .php extension like in case of HTML we use .html or .htm, PHP is open source software and free to download and use.

Version 1:1994 PHP was originally created by Rasmus Lerdorf and it is a set of CGI Binaries in
the C Programming Language.

Version 2: 1995 It is the improved version of 1 by the same person and this is the first public release PHP. PHP at this point stands for “Personal Home Page Tools”. Version 3: 1998 In this version two more developer involved “Andi Gutmans” and “Zeev
Suraski”. And write the major part of PHP between 1997-1998. And they also Renamed it and new name is PHP: Hypertext Preprocessor . See the PHP word is itself there in these three

words, the first word be the Acronym is the Acronym itself. This is called Recursive
Acronym. This version is till support by web browsers but not improved or actively maintained.

Version 4: 2000 Now Suraski and Gutmans formed new company called ZEND. And Zend
rewrites the code PHP. And with 4 features and big update and they release in May 2000.This version is also supported by web browsers and updates like security and bug fixes. And Version

4.4.6 released on March1, 2007. Version 5: 2004 Now improved version of PHP came in July 2004 having lot of features like
Object Oriented Programming (OOP) and better Database connectivity. And its stable version is Version 5.2.1 is released on February 8, 2007. Now day’s latest version is 5.3.0. This is also actively supported by browsers and updates.

And Version 6.0 is on the way for release. Still not released this version.

Me going to teach you every tutorial on PHP version 5.2.5 or more and its equally work on others too, And I think now you some better understanding of PHP versions.

Features Of PHP
Just take a look now what are the features of PHP and why we use PHP: PHP is any open source. Open source mean source code is available for everyone to study to use and to modify. PHP is free software mean free to download and use. PHP is a cross platform to develop. Cross platform mean we can run PHP on different platform (Windows, Linux, Mac, UNIX, etc.)
PHP is compatible with almost all servers used today (Apache, IIS, etc.).

PHP is also Powerful, Robust, scalable. PHP is a Web Development Specific. Its mean it’s written from the beginning with web development mind. Version 1 was written for help to maintain their personal website. PHP is an Object Oriented Programming, Commonly known as OOP especially Version 5. Having great Documentation in many different languages.(

PHP is easy to learn and runs efficiently on the server side. Large active developer community, Run more than 20 million websites on PHP and its 4 th most popular programming language behind JAVA , C and C++. So many great examples of PHP application like WordPress, Joomla, Mambo, PHPbb, and Mediawiki and all these are free to downalod for maintain your websites, blogs, boards, forums.

For installing PHP completely you need few things: Web server (Apache 1.3) PHP (Version 5.2.5) Database (My SQL 5.0) Text Editor (Notepad or any other like TextMate) Web Browser (Firefox) Either You Can Install all these software’s separately or uses single Software for installing all these. Download all these software’s separately from here and these are totally free:
Download PHP:
Download My SQL Database:
Download Apache Server:

Here I ‘m not going to teach how to install, for instruction takes a look here:

And IF you want to use a single software for all these then you use : Lamp (for Linux) Mamp (for MAC) Wamp (For Windows) XAMPP (For Windows) Either Google it for installing these software’s or use this I found some links: Lamp: or




To be Continue in Next Edition ….

Thanks, Tutorials By: Manan Saini Join us:

To top