PHP stands for Hypertext Preprocessor; PHP is server-side scripting language for development of web applications. PHP powerful and robust programming language. It is open source and its major implementations are Zend Engine, Roadsend PHP, Phalanger, Quercus, Project Zero and HipHop framework.
PHP is designed for the development of dynamic web applications, but it can also run as console applications. You can write PHP applications and run it as cron job on Linux, Unix, Solaris and Mac servers.
PHP code is embedded into HTML pages, it is then processed by the PHP engine and dynamic output id generator to the users.
History of PHP
Rasmus Lerdof created a language in the Year 1995 and called it "Personal
Home Page/Forms Interpreter". or PHP/FI for short. Then PHP/FI 2.0 was
introduced. In the year 1997 PHP 3 was released with many new features and
improved functionalities. Another big achievement of PHP 3 was its tight
integration with the Apache web server with the help of PHP Apache Module.
The Version 4.0 (Release Candidate 1) was release on 27-Mar-2000 with major improvements and many new features.
The version 5 of the very successfully PHP framework was released on July 13, 2004. It is powered with the new Zend Engine II. The PHP 5 fearues are:
The implementations of the PHP framework are:
Uses of PHP
PHP is being used to write dynamic applications for the websites and web portals.
Writing a simple PHP program
You can embedded PHP code into your html file and save it as .php or .php3 extensions. Then you can upload the page on the apache server and execute it by typing the url of the page into web browser. Here is the simple example of PHP that prints "Hello PHP" message on browser.
<html> <head> <title>Hello PHP</title> </head> <body> <?php echo "Hello PHP"; ?> </body> </html>More Tutorials on roseindia.net for the topic PHP.