PHP is described as server-side scripting language intended to use for web development but can also employed as a general-purpose programming language. This innovative scripting language was originally created by Rasmus Lerdorf in the year 1995 which is now produced by The PHP Group. Initially PHP stood for Personal Home Paget but now it stands for Hypertext Preprocessor, a backronym.
The PHP code is unravelled by a web server having a PHP processor module, which produces the resulting web page. PHP directions are embedded uninterruptedly into an HTML source document instead of using and external file to deconstruct the data. PHP can be used in individual graphical applications. This language or PHP used through PHP web application software currently is installed on not less than 244 million websites and 2.1 million web servers.
3 main Scripts sections where PHP scripts are used
Server-side scripting :- Three things needed to make this work are:- The PHP parser (CGI or server module), a web server and a web browser. First you need to run the web server along with a connected PHP installation. Then you can easily access the PHP program output with the help of a web browser and finally viewing the PHP page through the server. This can also be carried out in your home computer.
Writing desktop applications :- If you are accustomed with PHP web application software very well and would like to use some of the advanced features of PHP in your applications, PHP-GTK can also be used to write these kind of programs. In case of writing cross-platform applications PHP-GTK is helpful which nothing but an extension of PHP is.
Command line scripting :- You can make a PHP script to run it without the assistance from any server or browser. What you need is only the PHP parser. This type of PHP utilization is ideal for writing scripts that consistently executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks.