I have the following rules in my .htaccess file (which sits in the site's root dir along with paper.php):
RewriteEngine On RewriteRule ^/([a-z]+)/([a-z]+)/$ paper.php?paper=$1§ion=$2 [L]
The browser gets served up paper.php, but I can't access the variables that should be in $1 and $2. They're supposed to be GET variables, right?
I've tried accessing them with $_GET["varname"] and $_REQUEST["varname"] (and directly with $varname, even though register_globals is off), but I get nothing.
Can someone point out the (probably obvious) problem I'm having?
thanks,
Steven
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php