toby 0 Report post Posted June 3, 2007 (edited) On this shell, that has shared apache, php and gd, I have this file working. http://forums.xisto.com/no_longer_exists/ But, with the normal htaccess of RewriteEngine onRewriteRule ^sig.png$ gd.php http://forums.xisto.com/no_longer_exists/ Doesn't work. Also, another gd picture doesn't display the text. <?phpheader("(anti-spam-(anti-spam-(anti-spam-content-type:))) image/png");$im = imagecreatefrompng("button.png");$bg = imagecolorallocate($im,255,55,25);imagefill($im,0,0,$bg);imagestring($im,3,20,5,"Your IP is ",$bg);imagepng($im);imagedestroy($im);?>The second line is supposed to be header("Content-type: image/png");; Any ideas? Edit: Also, how can I use mt rand to make the first more random? It's an array of the texts. Edited June 3, 2007 by toby (see edit history) Share this post Link to post Share on other sites