请问redirect为什么加上了.html

浏览:2605 发布日期:2015/01/03 分类:求助交流
本来的网址是
http://localhost/index.php/Productdetail/index/id/88d2a7d29f90075584073212a2883ab8
我将Productdetail/index
id和88d2a7d29f90075584073212a2883ab8保存到数组里面,然后用
$this->redirect($urlid[0],array($urlid[1]=>$urlid[2]));
这是浏览器的地址栏变成了
http://localhost/index.php/Productdetail/index/id/88d2a7d29f90075584073212a2883ab8.html
多了“.html”不过也能正常运行,why?
最佳答案
评论( 相关
后面还有条评论,点击查看>>