Dynamic GRASS map and PHP

Here's a small demo of PHP displaying a dynamically rendered GRASS map. The script just makes GRASS shell commands, and GRASS renders a PNG to a web-readable directory. I don't really understand the GRASS stuff, but the PHP looks dead simple. Tim, if the GRASS commands look relatively simple to you, maybe we could try this with a simple SOD model some time in the unspecified future.