[PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Dave M G
PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However, I'm clearly messing up, as what I'm outputting is a bunch of ASCII gibberish to the screen. What I think I need to do

Re: [PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Tijnema !
On 5/17/07, Dave M G [EMAIL PROTECTED] wrote: PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However, I'm clearly messing up, as what I'm outputting is a bunch of ASCII gibberish

Re: [PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Stephen
Save the image as a file. Then html src=filename Dave M G [EMAIL PROTECTED] wrote: PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However, I'm clearly messing up, as what I'm

Re: [PHP] Confused about how exactly to output image using imagepng function

2007-05-17 Thread Zoltán Németh
2007. 05. 17, csütörtök keltezéssel 14.49-kor Tijnema ! ezt írta: On 5/17/07, Dave M G [EMAIL PROTECTED] wrote: PHP list, I've looked at the manual entries for imagepng() and imagecreatetruecolor() functions for helping me to create a temporary image for a CAPTCHA system. However,