Well, I made a php script that will add text to an image. Anyways, I converted it to .png, wrote an .htaccess file for it and everytime I run it my computer wants to download it.Anyways, here's the .png (actually a php):
<?$im = imagecreatefrompng("custom2.png");if(!$im){die("");}$string = $_GET['text']; $orange = imagecolorallocate($im, 255, 180, 0);imagestring($im, 2, 5, 5, $string, $orange);header("Content-type:image/png");imagepng($im);imagedestroy($im);?>
and here's the .htaccess:
<Files custom.png>ForceType application/x-httpd-php</Files>
Any help is greatly appreciated.Anubis