note 43458 rejected from function.imagejpeg by betz

From: Date: Tue, 22 Jun 2004 07:57:20 +0000
Subject: note 43458 rejected from function.imagejpeg by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71488@lists.php.net to get a copy of this message
Note Submitter: rajputyogesh@hotmail.com ---- <? $im = @imagecreate(250, 20) // line 1 or die("Cannot Initialize new GD image stream"); // line 2 $background_color = imagecolorallocate($im, 255, 255, 255); // line 3 $text_color = imagecolorallocate($im, 233, 14, 91); // line 4 imagestring($im, 3, 5, 5, "A Simple Text String", $text_color); // line 5 imagejpeg($im); // line 6 imagedestroy($im); // line 7 echo"This is test string."; // line 8 ?> This code is giving the output only the one jpeg image on the browser. The question is, how can I get the image and the string [at line 8] together.

« previous php.notes (#71488) next »