I'm experimenting with trying to build a basic captcha type script. Before I get too far into building the actual image, I want to make sure I can get it to display. Right now, I'm not getting anything... maybe you guys can point me in the right direction.
One step ahead of you... I am accessing the file, and I'm getting nothing. Also, accessing from an img tag on the other page doesn't even give a broken image.
Sorry to be such a pain I thought this would be the easy part of the experiment lol.
[Fri Sep 9 19:49:23 2005] [error] PHP Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: Invalid number of colors in palette\n in /home/zoneprof/public_html/verify.php on line 13
[Fri Sep 9 19:45:20 2005] [error] PHP Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: Invalid number of colors in palette\n in /home/zoneprof/public_html/verify.php on line 13
[Fri Sep 9 19:44:17 2005] [error] PHP Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: Invalid number of colors in palette\n in /home/zoneprof/public_html/verify.php on line 15
[Fri Sep 9 19:43:54 2005] [error] PHP Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: Invalid number of colors in palette\n in /home/zoneprof/public_html/verify.php on line 15
[Fri Sep 9 19:39:51 2005] [error] PHP Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: Invalid number of colors in palette\n in /home/zoneprof/public_html/verify.php on line 14
code]
About 400 times.
I tried adding...
Well, I've tried it myself, and after a bit of fiddling, all I can come up with is to try changing the header to gif and the output to ImageGIF. That works for me.