tp的路由 如何能获取参数啊?

浏览:1714 发布日期:2013/09/06 分类:求助交流
我的地址是:http://localhost/test/User/Index/Index/uid/shineforce
我路由设置好后:http://localhost/test/User/shineforce
但是我使用$_GET['uid'] 就获取不到uid这个shineforce的值了 当然用I方法也不行啊。。
路由我是怎么设置的
'URL_ROUTE_RULES' =>array(
'User/:name' => 'User/Index/Index/Index',
),
那位高手能指点下,在下先说声谢谢了~
最佳答案
评论( 相关
后面还有条评论,点击查看>>