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.
Wiblog:
The Sleeper Saga Continues

In my last post I was talking about the problems that the Caledonian Sleeper service has been having with their new carriages but said that the Highlander service, which takes passengers from Fort William, Inverness, and Aberdeen to London, had remained on the old carriages for now.  read more ...

More from the Wiblog ...

I am currently reading:

Scotland: The Autobiography by Rosemary Goring Star Island by Carl Hiaasen

(?)
Word of the Day:
rigolette