PHP URL重写
http://localhost/eshop/index.php
http://localhost/eshop/lookinfo.php?id=57
现在我想把这2个地址给URL重写,因为是在本地,我是个初学者,不知道该怎么写?望高手多指教啊~
作者: hyshzy 发布时间: 2009-03-05
作者: dzxccsu 发布时间: 2009-03-05
而且
http://localhost/eshop/index.php
http://localhost/eshop/lookinfo.php?id=57
这两个文件要是在服务器上,浏览器打开后显示的路径是什么样子的啊?
作者: hyshzy 发布时间: 2009-03-05
作者: LIHY70 发布时间: 2009-03-05
RewriteRule ^eshop/index.html eshop/index.php
RewriteRule ^eshop/([0-9]+).html$ eshop/lookinfo.php?id=$1
作者: wzwen 发布时间: 2009-03-05
作者: bo_hai 发布时间: 2009-12-01
作者: xuzuning 发布时间: 2009-12-01
作者: garcon1986 发布时间: 2009-12-01
作者: junchen168168 发布时间: 2011-03-08
作者: junchen168168 发布时间: 2011-03-08