This script is loaded using an image tag and generates data based on information added as GET parameters.
For example:
<img src="bar.php?value=100&max=256&info" />
Generates:
This script requires at least four files to use. The first is an HTML file which loads the image (of course), the second is the background “bar.png” image which the graph is built on, the third is a ttf font file, and the fourth is the bar.php script which does all the work. You can see the latter on this page, or you can click the link below to download all the files.
Download PHP Bargraph Generator
Related posts:
- Clean URL Generator in Javascript This function generates clean URL’s, similar to how Wordpress generates...
- Batman & Robin Comic Generator Just for fun, we've developed a Batman & Robin...
- Short URL generator / Referrer hider There are dozens of sites out there which offer the...
- PHP Class for creating CSS Graphs We’ve developed a PHP Class for drawing a CSS graph....
- PHP cURL cookies not saving on Windows I was recently given a PHP application with the task...

