PHP example programs to prep for ZCE

(these won't run on this web server, so download them to your local web server)

Create random or regularly tiled images      viewable php source

MySQL client      viewable php source

MySQL query client      viewable php source

MySQL simple query      viewable php source

Convert image file to ASCII art      viewable php source

Make simple drawings      viewable php source

random Graph (DFS connected components, BFS shortest paths, MST Kruskal and Prim, Dijkstra shortest paths)      viewable php source

HTML Form example      as a PHP program      viewable php source      showdata.php      showdata.php source

city coords lookup      viewable php source      earthcity.jpg

Sierpinski triangle      viewable php source

generic secure session      viewable php source

make a one pixel image      viewable php source (1. command line and web 2. some Javascript in the php file.)

histogram of your data      viewable php source

pokerhands.php (cgi too)      viewable php source

CGI/CLI programs

sets.php class Set
life.php Conway's
ansiscreen.php cursor positioning, colors
ansiscreenTest.php points, worms, bouncing, phpchedelic
image2term.php JPEG GIF PNG to xterm (crudely colored)
allSubstrings.php subsequences too
pearDBex.php one canned query to MySQL world
pearDBexQuery.php command line or interactive queries
roman.php
diamond.php
letterpyramid.php
tictactoe.php

Test files

cookbook.php
test.php
string.php
array.php
testcert.php
phpinfo.php