[php]伪静态传递四个以上的参数不行吗
http://localhost/category.phpaction=small&type=1&bclassid=2&sclassid=17下面是正则RewriteRu...
http://localhost/category.phpaction=small&type=1&bclassid=2&sclassid=17
下面是正则
RewriteRule ^/category_(.*)_(.*)_(.*)_(.*).html$ /category.php?action=$1&type=$2&bclassid=$3&sclassid=$4
应该显示的是
http://localhost/category_small_1_2_17.html
就是死活显示不出来
http://localhost/category.php?action=small&type=1&bclassid=2&sclassid=17 展开
下面是正则
RewriteRule ^/category_(.*)_(.*)_(.*)_(.*).html$ /category.php?action=$1&type=$2&bclassid=$3&sclassid=$4
应该显示的是
http://localhost/category_small_1_2_17.html
就是死活显示不出来
http://localhost/category.php?action=small&type=1&bclassid=2&sclassid=17 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询