|
lotsa ways , depends on how your using it..
if you put an htacess in a folder called "stb" like this
RewriteEngine on
RewriteRule ^(.*)\.jpg http://www.yoursite.com/stb/img.php?in=$1 [nc]
then in img.php in the same folder
<?php
$ein = explode("/",$in);
$out = $ein[1];
header("Location: http://yoursite.com/secretfolder/$out.jpg");
?>
That would turn
yoursite.com/stb/jg7y7iyikuiu6ujk7/test.jpg
turn into
yoursite.com/secretfolder/test.jpg
__________________
hatisblack at yahoo.com
|