View Full Version : Making php extension
JordanStreet
08-14-2006, 10:09 PM
So heres my problem. So forum boards dont allow you to post http://www.yoursite.com/image.php. I have created a dynamic image script but I cant display it. Is there a way to change that image.php to somthing recognizable like image.png ?
Thanks,
Jordan
arttron
08-14-2006, 10:20 PM
Change image.php to image.png then create a .htaccess file and add this code to it
AddType application/x-httpd-php .png
AddHandler application/x-httpd-php .png
JordanStreet
08-14-2006, 10:49 PM
:) thanks. What is the point of the add handler i got the desired affect with just AddType application/x-httpd-php .png .php
marek_mar
08-14-2006, 11:16 PM
You could've just alter the link you use for the image like this:
http://domain.tld/script.php/image.png
JordanStreet
08-14-2006, 11:40 PM
cool thanks :) Now my next problem is I need to make is so the text i put on the image is somewhat transparant anyone know how ?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.