View Single Post
Old 02-23-2006, 06:02 AM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by fris
i am doing sorta something like that fort a site



RewriteRule ([0-9a-zA-z]+).jpg$ http://www.domain.com/view.php?id=$1 [P]

its for an opendir of images

then displays theimage then has a header on top and footer (view.php)
i was just going to say your not limited to .jpg you can create html pages on the fly using htaccess the same way.

Like lets say you added in the ability to make the page so instead of just creating the image , you rewrite .html as .php and use the filename to create a page based on the keyword AND a jpg along with it..
__________________
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