PHP which is officially known as ‘Hypertext Preprocessor’ was released in the year 1995. Initially written as a set of Common Gateway Interface (CGI) in ‘C’, PHP was originally designed to replace a set of Perl scripts to maintain his Personal Home Pages (also known as PHP). PHP was originally designed to create dynamic and more interactive web pages. It is the most widely-used, open-source and general-purpose scripting language. It is a server-side scripting language often written in a HTML context. PHP code in a script can query databases, create images, read and write files and talk to remote servers. The output from PHP code is combined with HTML in script and the result is sent to the user.
It is possible to use PHP in almost every operating system. PHP can be used in all major operating systems including Linux, Microsoft Windows, Mac OS X, and RISC OS. PHP uses procedural programming or object oriented programming and also a mixture of them. PHP is used mainly in server-side scripting, command line interface and writing desktop applications. PHP also supports ODBC, the Open Database Connection standard which allows you to connect to other databases supporting this world standard. Server-side scripting is the most traditional one for PHP development. In order to use PHP for server-side scripting you need a PHP parser, a web server and a web browser. The PHP codes entered with the parser on a web server will be translated into a PHP page that can be viewed on your web browser.