Free Source Code and Tutorials

Custom Search

02- PHP Operational Trail

It is necessary to have this concept in mind, so that your programming in PHP will be in lot more sense.

To proceed in our further discussion, we need to understand first what is the PHP operational trail. In this tutorial, you will be introduce about the operation of the web server to process the PHP script. But first, take a look at the diagram shown in figure 1.


Figure 1. Operational Trail

All of the process shown in figure will happen when you ask the URL in your browser before get back your HTML return back to you. As you can see, we have thereBrowser, Web Server and Apache. The diagram shows that the web browser will make a request to “find a page” and that page is located on the hard drive and in our diagram, we call it as “Test.php” and since it has a “.php” extension it tells the web browser to“process php” files and all the file that has a .php extension will be process by the web server.

If the process file contains operation on the database, then it will ask and receive data from the database. And finally, the server will then returns pure HTML code to the browser which the browser can easily understand.

Facebook Comments
(Visited 22 times, 1 visits today)
Share this

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked * © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!

%d bloggers like this: