How PHP Works
November 20th, 2008
When you browse to a website such as http://ctcoder.com/index.php, your ISP directs you to the server that holds the website information/files for CTCoder. The server will then read that index.php file and process the information contained within. PHP then tells the Client browser in the form of html. What this means is that PHP will create an HTML page dynamically based on what instructions the PHP Programmer wrote in the file.
This data is in the form of HTML that the browser can display as it would a standard HTML page. In short, PHP creates an HTML page on the fly based on parameters of my choosing; the server contains no static HTML pages.
In our next section we will cover what the php.ini file is used for: 3. The php.ini File