From time to time, I write sample PHP programs for my own use. You may find these useful as well. Select a program to learn more about it.

The source code to the gimmick driver is available as well: pretty, plain.