how php/mysql is processed between client + server...

10
how php/mysql is processed between client + server UNDERSTANDING THE PROCESS Author: Leigh Cotnoir WEB SERVER Apache takes request for file . . . then reads from file system Apache Service File System file. php engine processing URL request to find a webpage. The standard server port for http requests is 80, and MySQL service Returns HTML ... send back to browser newly loaded page Monday, June 21, 2010

Upload: others

Post on 25-Jan-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

  • how php/mysql is processed between client + server

    UNDERSTANDING THE PROCESS

    Author: Leigh CotnoirWEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.

    phpengineprocessing

    URL request to find a webpage. The standard server port for http requests is 80, and

    MySQL service

    ReturnsHTML...send backto browser

    newlyloadedpage

    Monday, June 21, 2010

  • something.com’sweb server

    WEB SERVER

    http://something.com

    Monday, June 21, 2010

    http://google.comhttp://google.com

  • something.com’sweb server

    WEB SERVER

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file

    Apache Service

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.phpURL request to find

    a webpage. The standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    MySQL service

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    MySQL service

    ReturnsHTML

    Monday, June 21, 2010

  • WEB SERVER

    Apache takes request for file . . . then reads from file system

    Apache ServiceFile System

    file.php

    phpengine

    processing

    URL request to find a webpage. The

    standard server port for http requests is

    80, and 443 for https

    MySQL service

    ReturnsHTML...send backto browser

    newlyloadedpage

    Monday, June 21, 2010