View Single Post
Old 02-17-2007, 06:39 PM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
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
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote