well the qoutes not wrapping to the next line Heres the code i used im i doing something wrong? <?php header ("Content-type: image/png"); Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT'); Header('Pragma: no-cache'); $image = imagecreatefromgif("bg.gif"); $back_color = ImageColorAllocate ($image, 0, 5, 5); $white = ImageColorAllocate($im, 255, 255, 255); $ip = ( !empty($_SERVER['REMOTE_ADDR']) ) ? $_SERVER['REMOTE_ADDR'] : ( ( !empty($_ENV['REMOTE_ADDR']) ) ? $_ENV['REMOTE_ADDR'] : $REMOTE_ADDR ); $quotes = file('quotes.txt'); $quote = array_rand($quotes); $joke = wordwrap($quotes[$quote], 40, "\n", 1); $joke = explode("\n", $joke); ImageString ($image, 2, 12, 50, "You are $ip", $white); ImageString ($image, 2, 12, 70, "Your Running:", $white); ImageString ($image, 2, 12, 90, "$HTTP_USER_AGENT", $white); for($i=0; $i<count($joke); $i++) { ImageString ($image, 2, 12, 110, $joke[$i], $white);} Imagepng($image); imagedestroy($image); ?>