Image

Imagekloostec wrote in Imagephp

And now for a random bit of fun...

http://www.gavintech.com/spam_graph.php

This is a graph of the number of spam messages versus the number of ham messages per day for our server.

You can also pass it a limit on how many days to display by sending limit as a get variable. The default is 120. For example:

http://www.gavintech.com/spam_graph.php?limit=5 will only show the last 5 days.

Unfortunately, I can't open source this one, as the graphing code is from a closed source application that I'm working on. The graphing code is pretty flexible... you can change the height and width of the graph, the graphing area itself, the number of gridlines, the title, the colours, whether the legend appears, what to display in the legend, etc. all by variable.

Now, it's *supposed* to automatically update at 6am MST or so every night, but that has yet to be seen! I'll probably wake up and find the latest readings to be 0 and 0 or something...