png or php problem?

Status
Not open for further replies.

ajent

New Member
Messages
2
Reaction score
0
Points
0
I'm trying to setup a dynamic png signature. I have it working on another host, however they do not allow hot linking, so I cannot use them.
Currently, the url is f-b-i.tk/sig/deathnote.png
When loaded in browser, it works fine, however I have the same folder contents on 10x hosting, at http://fbi.pcriot.com/dynsig/deathnote.png . When trying to view it, it tries to download the image as a file, instead of viewing it in the browser.

I'm in the process of upgrading to the intermediate php, maybe that will fix it?
 
Last edited:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Create a .htaccess file in that folder and put the following in it.

AddHandler application/x-httpd-php .png
AddType application/x-httpd-php .png
 

ajent

New Member
Messages
2
Reaction score
0
Points
0
Thanks for the reply, I had a .htaccess file in there, but it only had AddType application/x-httpd-php .png
I've deleted it and uploaded a new one with your settings, but unfortunatly it still isn't working. :(
In my control panel it shows that i've been upgraded to intermediate php also. Now i'm not sure what the deal is.
 
Status
Not open for further replies.
Top