speaker219 Posted July 21, 2007 Share Posted July 21, 2007 Don't know exactly where I should post this. I need to know what I should use to redirect any file with the extension .jpg to redirect to a php with the name of the file requested as a string. For example, if someone went to: http://example.com/pics/test.jpg I want it to redirect to: http://example.com/pics/view.php?img=test.jpg Sorry If this is the wrong forum, don't know where else to put it, or who else to ask. Any help would be appreciated. Link to comment https://forums.phpfreaks.com/topic/61051-htaccess-and-mod_rewrite-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.