Preperation

  • If you haven't already done so, download and install one of the following webserver environments:
    • AMPPS (Mac, Windows, Linux) recommended for Mac and Windows
    • XAMPP (Windows and/or Mac)
    • MAMP (Mac only)
    • WAMP (Windows only)
  • W3Schools Documentation:
  • See DeFrance's Intro to PHP php page

In class: 

  • Look at the LAMP stack:
    • http.config: discuss ports (a 'channel' to send/recieve data on network programs)
    • LAMP: Linux, Apache, MySQL, PHP. Start localhost server and control content in document root
    • PDO: PHP Document Object; Review Try/Catch statements. 
  • Create an HTML Contact page that is processed by PHP on the server.

Further Study:

  • Explore w3schools for examples of using PHP
  • Explore php.net for documentation