htaccess and php preg_match ??
I'm just wondering how to use the preg_match function in php to meet the variables of the htaccess
strictly to the point, hope you understand my silly english (:
look in htaccess we use things like
what i'm looking for is what is the variable which we use in the preg_match function to meet the code
RewriteRule ^([^/]+)/$ ./test.php?url=$1
and how to add many variables like
what is the equivalent of these variables in the preg_match function ?
RewriteRule ^([^/]+)/p([0-9]+).html$ ./test.php?url=$1&page=$2
cuz i've seen alot of the examples like this one :eek:
but i didn't understand what's in it. :confused: