CSPP552: Internet Programming, PHP part 3

How the PHP web server module works

  1. Document request (foo.php) is passed to the web server in the usual way (HTTP, or whatever)
  2. Web server grabs the file and hands it to its PHP module
  3. PHP module munches on the file, then sends its output back to web server
  4. Web server sends that output to browser

Next