View Single Post
Old 03-02-2009, 03:53 AM   #2 (permalink)
Village Idiot
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

So you want to run PHP on the extension of an image file? So when a user goes to image.jpg, they actually go to a script? There is no way with straight PHP to do this, your options are to MIME types to process the image extension you want as PHP, your other is to use mod_rewrite to run a PHP file for it.
__________________

Village Idiot is offline  
Reply With Quote