What is PHP ?
According to the php.net Site "PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
PHP is a server scripting language for creating dynamic Web pages.
PHP can be used on all major operating systems, including Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and probably others. PHP has also support for most of the web servers today.
This includes Apache, IIS, and many others. And this includes any web server that can utilize the FastCGI PHP binary, like lighttpd and nginx. PHP works as either a module, or as a CGI processor. So with PHP, you have the freedom of choosing an operating system and a web server. Furthermore, you also have the choice of using procedural programming orobject oriented programming (OOP), or a mixture of them both."
What you need to know before starting to learn PHP
Before starting to learn PHP it is important that you have a basic understanding and experience in the following:
- Basic knowledge of HTML
- Basic programming knowledge - This isn't must, but if you have any programming experience it will make learning PHP a lot easier.
Some important facts about PHP
- PHP is used by over 244M sites, 2.1M IP addresses and 1 million servers ⇒ www.php.net/usage.php
- PHP supports both procedural programming and object oriented programming.
- PHP is amazingly flexible and allows you do crazy but useful things like passing functions as parameters and invoking object methods named dynamically.
- PHP has support for a wide range of databases
- PHP is completely free - you do not have to pay anything to use it and the source code is always available. You can download it on www.php.net
- Any developer can extend the language if required.
- PHP runs on all popular operating systems and web servers.
- PHP has been around for over 18 years and have been consistently supported, extended and enhanced. Rasmus Lerdorf wrote the original version of PHP in 1995 - for a full history ⇒ read more