Working Model

 

  1. Browser Client requests page from ISP
  2. ISP resolves DNS and sends request to target web server
  3. Target web server, running Apache, finds target page
    • Since target page has .php extension, it tells the server that it needs to process the page as a PHP file
  4. PHP interpreter processes the PHP tags and asks for any requested data from MySQL database
  5. MySQL database returns any requested data to the PHP interpreter
  6. PHP returns the interpreted data as HTML to Apache
  7. Apache returns the interpreted HTML
  8. Browser Client receives receives requested page

Leave a Reply