PHP is a server-side scripting language. PHP scripts are processed by a server prior to sending data to a user. This allows websites to customize content sent to users. Like PostgreSQL it is free and very popular. PHP is similar to other scripting languages such as Microsoft's ASP and JSP. Based on the Zend engine, PHP has syntax similar to C++ or Java. PHP also supports a wide-range of functions, including easy access to database systems (such as PostgreSQL).
We have chosen to use PHP to linking webpages to a database back-end as easy as possible. It is also used by many companies, making it a nice addition to your repertoire.
All PHP scripts have the extension
.php (actually, there are others that are sometimes used, such as
Any file in your
public_html directory (or subdirectory) with the
.php extension will automatically be preprocessed through the PHP engine when accessed via the web server (inst.eecs.berkeley.edu). You do not need to do any special setup.
The official PHP site (http://www.php.net) contains an extensive manual along with a short tutorial. We highly suggest reading the chapters:
For Annotated PHP Manual: http://www.php.net/manual/en
For PHP on Instruction Server: http://inst.eecs.berkeley.edu/notices.html#cory-aug27