I have a php image creation script for a signature image for battlefield vietnam stats from my website. The script has a .php ext, and being so there are quite a number of forum softwares out there that do not allow bb image code to a file thaa ends with a .php extension. I want to enable a mime type so that it parses .png files as php, and I'm trying to do that with a .htaccess file so that it parses a .png file as php and the file contains only the following line:
AddType application/x-httpd-php .png
Yet I get a 500 ISE error when that .htaccess file is in there, and it's fine when I remove it, I think the mime type isn't in properly but information on doing something like this is scarse around the net, can anyone help me on why this is doing this?