View Single Post
Old 02-23-2006, 06:32 AM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
infact you could simply duplicate the above code and make it also create the html file that holds the image at the same time


make another folder and add this

first the htacees ( a little different )

Code:
Options +FollowSymlinks
 RewriteEngine on
 RewriteRule ^(.*)\.html http://example.com/newexample/index.php?x=$1 [nc]
then make another index.php and put this in it

Code:
<?php
$wrd = $_GET['x'];
echo "<a href=http://example.com/example/$wrd.jpg>$wrd<br><img src=http://example.com/example/$wrd.jpg></a><add extra html here if you want>";
?>
__________________
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