Changing the .htaccess to allow php.gif files
Moderator: General Moderators
-
HomerTheDragoon
- Forum Newbie
- Posts: 21
- Joined: Sat Jul 08, 2006 2:10 am
Changing the .htaccess to allow php.gif files
Alright i have a dynamic image that i created to use on a phpbb forum. From what i hear, you can change the .htaccess and add this AddType application/x-httpd-php .gif. But when i do that and then change my file from .php to .gif, all it does is asks if i want to download it.
What am i doing wrong?
Does your script have a content type header?
Put that prior to calling imagegif() if you don't.
Code: Select all
header("Content-type: image/gif");