02- PHP Operational Trail


This tutorial is all about 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.


Readers might read also:



Facebook Comments
Next article01- PHP Requirements
Hello Itsourcecoders, welcome to itsourcecode.com. I'm Joken Villanueva, MIT a passionate Blogger, Programmer and a Hobbyist. I started Itsourcecode because I wanted to give back and Share all the learnings and knowledge I've learned in my career and I believe through this website I would be able to help and assist those newbie programmers in enhancing their skills from different programming languages. So let us all help each other by sharing our ideas!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.