image problem

From: Date: Mon, 26 Jun 2000 08:29:02 +0000
Subject: image problem
Groups: php.general 
Request: Send a blank email to php-general+get-3088@lists.php.net to get a copy of this message
hi all im trying this simple code for images and seems doesnt work it outputs characters instead of an image plz let me know how do i output image and do i need to use header if yes how $im = imagecreatefromgif("images/city.gif"); // setpixel is in loop imagesetpixel($im,$i,$i,99); // loop ends imagegif($im); Output is code like this in place of image ñ  $J”(Q¢@8è †D‰thÜ!?$XÐàA„$L˜0a„ &L˜P ƒ„ &L˜Pà¡q‡&L˜p ƒ„ &L˜0a„ &L˜0a„?;?À? <ˆ0¡Â… :|1¢Ä‰?;AD‘"EŠ)R¤H1â¡q8?`Aƒ&T¸?aC‡ Thanx in advance -- Warm Regards Deepesh

« previous php.general (#3088) next »