/rental/property/23425
to:
/index.php?mod=property§ion=rentals&propertyid=23425
Thinking about this a little, you still don't need mod_rewrite.
"rental" could be a PHP script, forced through PHP with:
<Files rental>
ForceType application/x-httpd-php
</Files>
In either a .htaccess file or, if performance is an absolute necessity,
your httpd.conf file (ie .htaccess files are turned off). In your rental
PHP script you simply look at the REQUEST_URI $_SERVER variable to
determine the correct data to show.
You could also forego the <Files> bit if you're willing to accept URLs
like this:
/rental.php/property/23425
--
Richard Heyes
http://www.phpguru.org
Free PHP and Javascript code
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php