Forum Moderators: coopster
Given the rule:
rewriteRule ^(.*)-(.*)-(.*)\.html$ index\.php?file=$1&imgno=$2&template=$3 [L]
and the check:
$file = $HTTP_GET_VARS['file'];
echo $file . "<br>";
$imgno = $HTTP_GET_VARS['imgno'];
echo $imgno . "<br>";
The script returns for example 'a-b-c.html' for 'gallery' and "" (null string) for imgno?
In other words, appears as if the $1 takes the whole match instead of splitting it up?