What is PHP ?
Its official name is PHP : Hypertext Preprocessor, and it is a server-side language. When your Web browser accesses a URL, it is making a request to a web server. When you request a PHP page, something like http://www.yourcompany.com/home/php, the Web server wakes up the PHP parsing engine and says,
” Hey ! you’ve got to do something before I send a result back to this person’s Web browser.”
Then the PHP parsing engine runs through the PHP code found in home.php, and returns the resulting output. This output is passed back to the Web server as part of the HTML code in the document, which in turn is passed on to your browser, which displays it to you.