Skip to content

Latest commit

 

History

History

PHP

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

PHP - Examples

Program List

Language

  • contact.php
    • a simple PHP email contact form
  • database.php
    • how to connect to a MySQL database and a variety of database functions

System

  • info.php
    • very basic, print out of the PHP server info

Compiling & Running Code

Set up a PHP server to serve the code, possibly a database too.

For Linux, check on how to set up a LAMP server for your distribution.

For Windows, WAMP is a simple solution.

For Mac, there is a web server built in, but MAMP is another solid option.