View Single Post
Old 01-27-2008, 01:32 AM   #11 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

A friendly advice. Don't ever do this again:
Code:
header("Content-type: image/png"); 
imagejpeg($im);

If you send a header for a specific content-type, then, for god's sake, continue outputting that format. Don't send out a png header and output a JPEG image. It's wrong.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
The Following User Says Thank You to xenon For This Useful Post:
Aaron (01-27-2008)