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..