5x12 pentomino tiling

Understanding PHP

I wrote this article for the now defunct PC Network Advisor, a magazine aimed at computer professionals.

It begins:

PHP, the PHP Hypertext Processor, is an open source server-side scripting language for Web servers, which provides a real alternative to ASP, Cold-Fusion, Mod_Perl or JSP if your aim is to provide dynamic Web pages. Dynamic Web pages are pages which interact with the user, so that each user visiting the page sees customized information - which may vary each time and which may be based on a form they ve just filled in, or on information extracted from a database or some other external source. Typical applications include e-commerce, online newspapers, visitors books, ticketing systems, project man-agement, and other groupware projects. The traditional way to produce this type of dynamic page is via CGI scripts, but these are separate programs which must be executed as a new process for each page hit, so they scale badly and rapidly become memory and processor hogs as server load increases.
You can read the whole article here. It's a bit old now, PHP4 was new then and we're now onto PHP5, but the basic explanation of how PHP works is still valid.
Current status: (via twitter)
Paul has no status set at the moment
Wiblog:
A Christmas of Films

If anything has marked out this Christmas as something out of the ordinary it's been the quality and variety of the films I've seen. As usual much respect to the great Dr Kermode for pointing me in the right direction for some of the less obvious choices. Some of these are DVDs Santa Beth gave me, the others are movies I caught on iPlayer.  read more ...

More from the Wiblog ...

I am currently reading:

The Undercover Economist
  by Tim Harford
Extreme Rambling: Walking Israel's Separation Barrier. For Fun.
  by Mark Thomas
The Christ Conundrum by Andrew Carruth

(?)
Word of the Day:
lomcevak