CSCI 571

PHP Examples

  1. Using show_vars.php to Print Environment Variables
  2. $_POST Example
  3. $_GET Example
  4. Counter Example (File I/O)
  5. fgetcsv Example
  6. Survey Example (fgetcsv and fputcsv)
  7. Regular Expressions Example (preg_match)
  8. Movies Example (XML)
  9. Movies Example (JSON)
  10. Login Example ($_SESSION)
Download the Source Code for all of the Examples Above (zip file)