当前位置: 代码迷 >> PHP >> URL配置解决思路
  详细解决方案

URL配置解决思路

热度:25   发布时间:2016-04-28 16:56:19.0
URL配置
http://localhost/date/?id=123&num=101配置成http://localhost/date/123/101,能具体写个代码给我看看嘛??谢谢
------解决思路----------------------
tp框架的吗!!
------解决思路----------------------
RewriteRule ^date/([0-9]+)/([0-9]+)$ date.php?id=$1&num=$2




------解决思路----------------------
参考thinkPHP的路由配置
http://document.thinkphp.cn/manual_3_2.html#route_define
------解决思路----------------------
参考thinkPHP的路由配置
http://document.thinkphp.cn/manual_3_2.html#route_define
  相关解决方案