Trouble with AddType application/x-httpd-php .png
- From: Kevin Blount <kevin.blount@xxxxxxxxx>
- Date: Fri, 26 Oct 2007 04:56:24 -0000
I'm trying to create the forum favorite dynamic sig image, that's
realy PHP script. I've had moderate success with .php files but when I
change the extension to .png I'm prompted to download the file, rather
than it rendering.
My understanding is that this is not supposed to happen, and that by
adding an.htaccess file I can force .png files to be compiled/parsed/
whatevered by PHP. In my .htaccess file I have:
AddType application/x-httpd-php .png
Any advice?
I'm using heliohost.org as my host, and they basically pointed me to
create the above file (as the first reply to my recent support query).
Googling this I'm not seeing that I'm doing anything wrong.. so what
gives?
.
- Follow-Ups:
- Re: Trouble with AddType application/x-httpd-php .png
- From: Brendan Gillatt
- Re: Trouble with AddType application/x-httpd-php .png
- From: AnrDaemon
- Re: Trouble with AddType application/x-httpd-php .png
- Prev by Date: Re: PHP to Fax
- Next by Date: Re: copy of object is a reference in PHP5
- Previous by thread: Include Problem ?
- Next by thread: Re: Trouble with AddType application/x-httpd-php .png
- Index(es):
Relevant Pages
|