Page is a not externally linkable
Birdman - 4:01 pm on Mar 1, 2008 (gmt 0)
mysql_connect($mysql_server, $mysql_admin, $mysql_pass)
Ok, I think I see what's happening. Since you have already sent the headers, you should just output the raw image instead of putting it in an HTML image tag.
or die( readfile( 'error.png' ) );