note 35377 rejected from function.imagejpeg by rioter

From: Date: Fri, 29 Aug 2003 03:47:51 +0000
Subject: note 35377 rejected from function.imagejpeg by rioter
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55273@lists.php.net to get a copy of this message
Note Submitter: ---- When I use the following code: <?php header("Content-type: image/jpeg"); $im=@ImageCreate(320,200) or print("Could not create image"); $bg_color=ImageColorAllocate($im,240,240,240); $text_color=ImageColorAllocate($im,0,0,0); ImageString($im,3,0,0,"Hello World!",$text_color); Imagejpeg($im,"",100); ?> The browser just contunues to load until it times out. If I add a file name the jpeg file is created fine but I can't output directly to a browser. Any ideas?

« previous php.notes (#55273) next »