注册 登录
编程论坛 PHP技术论坛

除了使用rewrite配置服务器伪静态,还有什么方法伪静态?

jasongliet 发布于 2010-03-29 16:22, 989 次点击
现在做一网站要用伪静态,但是用的是虚拟主机空间,没办法配置rewrite
试问还有什么其他办法啊?
3 回复
#2
cnenc2010-04-01 16:26
http://localhost/index.php/act/edit/id/123

用 $_SERVER['PATH_INFO'] 的值去分解你想要的参数.
#3
jasongliet2010-04-02 09:11
http://localhost/index.php/act/edit/id/123
这样的形式叫静态吗?
#4
风月_无边2010-04-02 16:03
一般可以在你的目录上加.htaccess文件进行伪静态解析
1