TOC

PHP is an extremely popular, Open Source scripting language, most commonly used on webservers to produce dynamic pages. The name "PHP" is a recursive acronym for "PHP: Hypertext Preprocessor" and was initially created by Rasmus Lerdorf in 1994. As of today, the current version of PHP is version 5, with version 6 in the making.

As mentioned, PHP is mostly used on websites, which is what this tutorial will focus on. You may wish to set up your own test server, which is very easy to do, using the next couple of chapters to help you out. If you already have a server up and running, or at least access to a server running PHP 5, you can jump to one of the next sections, where we will start writing some PHP. You may go through all the chapters of this tutorial step by step, or you may jump between chapters to learn specific things - it's really up to you.

A basic knowledge of HTML and CSS is recommended when you're learning PHP. If you're completely new to HTML, you might wish to take a look at this excellent HTML5 tutorial as well as this fine CSS3 tutorial before proceeding.

Enjoy!

>> Start the tutorial



Localized versions

Would you prefer to read this tutorial in another language? All our content is available for translation by our visitors and this tutorial is currently being translated into many new languages.

Top 10 Languages
Language Most active user Progress
Russian User #3560 ?
84.41% complete
German User #423 ?
11.56% complete
Turkish User #1787 ?
6.72% complete
Arabic User #485 ?
5.65% complete
Kiswahili User #1322 ?
4.03% complete
Persian User #4068 ?
4.03% complete
Spanish User #1887 ?
2.42% complete
Thai User #2984 ?
2.42% complete
Italian User #3145 ?
1.88% complete
Portuguese User #3851 ?
1.88% complete
More languages...

A big thanks goes out to all the translators making this possible! Perhaps you would like to contribute as well? Select language...