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 ?
86% complete
Mongolian User #4919 ?
42% complete
German User #423 ?
11% complete
Turkish User #1787 ?
6% complete
French User #3999 ?
6% complete
Arabic User #485 ?
5% complete
Kiswahili User #1322 ?
4% complete
Persian User #4068 ?
4% complete
Spanish User #1887 ?
2% complete
Thai User #2984 ?
2% 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...