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:
Ghost on a Raspberry Pi

For over three years now I've been running a weekly blog for my councillor work over on Substack. You can find it by going to paul.nairn.scot.  read more ...

More from the Wiblog ...

I am currently reading:

Beautiful Lives: How We Got Learning Disabilities So Wrong by Stephen Unwin Dead Water by Ann Cleeves

(?)
Word of the Day:
oppugnant