note 35388 deleted from ref.image by vincent

From: Date: Fri, 29 Aug 2003 12:33:11 +0000
Subject: note 35388 deleted from ref.image by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55294@lists.php.net to get a copy of this message
Note Submitter: not_gonna@tell_you.com ---- For some reason my text is always coming out black. To see what's wrong: http://phpdevil.sparkysnet.com/images/image.php Here's the code, is there anything wrong? <?php // create the image $gfx = imagecreatefromgif("bg.gif"); $white = imagecolorallocate($gfx, 255, 255, 255); imagestring($gfx, 5, 20, 5, "Random!", $white); // send the image header("content-type: image/gif"); imagegif($gfx); ?>

« previous php.notes (#55294) next »