sangsang13080198
New Member
- Messages
- 1
- Reaction score
- 0
- Points
- 0
Hello,
i've got problems trying to ForceType a particular png image to execute as a PHP script. When browsing the link, the file itself popup and tries to download it. Here is my .htaccess code.
i also tried with ForceType application/x-httpd-php5 and it fails me. Also on my actual script (i.e. myfile.png) i have my headers set to output as PNG.
Thanks and waiting for reply.
P.s: i'm on a free hosting account on stoli.
i've got problems trying to ForceType a particular png image to execute as a PHP script. When browsing the link, the file itself popup and tries to download it. Here is my .htaccess code.
Code:
<Files myfile.png>
ForceType application/x-httpd-php
</Files>
Code:
header("Content-type: image/png");
P.s: i'm on a free hosting account on stoli.