rendered paste body<?php $width = 100; //imagesx($im) $height =40; //imagesy($im) $im = Imagecreatetruecolor($width, $height); $white = ImageColorAllocate($im, 255, 255, 255); $black = ImageColorAllocate($im, 0, 0, 0); $string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789"; $string = substr(str_shuffle($string), 0, 8); ImageFill($im, 0, 0, $black); for($i=0;$i<(($width*$height)/(imagefontwidth(5)*imagefontheight(5)))*4;$i++){ imagesetpixel($im,rand(0,$width),rand(0,$height),$red); imagesetpixel($im,rand(0,$width),rand(0,$height),$green); imagesetpixel($im,rand(0,$width),rand(0,$height),$blue); } Header("Expires: Thurs, 16 Jul 1987 09:00:00 GMT"); Header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); Header("Cache-Control: no-store, no-cache, must-revalidate"); Header("Cache-Control: post-check=0, pre-check=0", false); Header("Pragma: no-cache"); Header('Content-type: image/jpeg'); Imagejpeg($im); ImageDestroy($im);?>