note 46204 deleted from function.imagejpeg by tomsommer

From: Date: Sat, 02 Oct 2004 16:58:00 +0000
Subject: note 46204 deleted from function.imagejpeg by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-77753@lists.php.net to get a copy of this message
Note Submitter: calle at ioslo dot net ---- Starting a session in your image-scripts work fine. Be careful though, as arjini writes: Any whitespace will (and should) break the image. Always double-check the headers you send. To simplify your life: <?php // create the $im, and put something useful in it header('Content-Type: image/jpeg'); imagejpeg($im); imagedestroy($im); exit; ?> The exit-statement will take care of any whitespaces below it.

« previous php.notes (#77753) next »