will 发表于 2009-4-11 15:07:08

CI中有没有类似header location的功能

在action内容执行完后,转向另外一个controller/action,类似于header("location:"),有没有这样的函数?

yuwen002 发表于 2009-4-11 16:14:08

http://codeigniter.org.cn/user_guide/helpers/url_helper.html
这里。
看看redirect();
这个跳转是带exit的。具体的看一下源码就了解了。

will 发表于 2009-4-11 17:00:38

谢谢,这正是我所要找的
页: [1]
查看完整版本: CI中有没有类似header location的功能