php 框架跳转页面,php ci框架中header()页面跳转问题

使用header函数跳转的时候可以找到指定的url 也能找到页面,但是页面就是不跳转,url不变,这是怎么回事

Request URL:http://localhost/login

Request Method:POST

Status Code:302

Request Headersview source

Accept:*/*

Accept-Encoding:gzip,deflate,sdch

Accept-Language:zh-CN,zh;q=0.8

Connection:keep-alive

Content-Length:67

Content-Type:application/x-www-form-urlencoded

Cookie:PHPSESSID=2k3ap23pdn68ecls5a1kgb8431

Host:localhost

Origin:http://localhost

Referer:http://localhost/

User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36

X-Requested-With:XMLHttpRequest

Form Dataview sourceview URL encoded

username:123

password:e10adc3949ba59abbe56e057f20f883e

role:student

这个是开始的原页面

Request URL:http://localhost/student/index

Request Method:GET

Status Code:200 OK

Request Headersview source

Accept:*/*

Accept-Encoding:gzip,deflate,sdch

Accept-Language:zh-CN,zh;q=0.8

Connection:keep-alive

Cookie:PHPSESSID=2k3ap23pdn68ecls5a1kgb8431

Host:localhost

Referer:http://localhost/

User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36

X-Requested-With:XMLHttpRequest

Response Headersview source

Connection:Keep-Alive

Content-Length:856

Content-Type:text/html

Date:Mon, 18 Nov 2013 14:22:30 GMT

Keep-Alive:timeout=5, max=99

Server:Apache/2.4.4 (Win32) PHP/5.4.16

X-Powered-By:PHP/5.4.16

这个是要跳转到的页面

更多php ci框架中header()页面跳转问题相关文章请关注PHP中文网!

本文原创发布php中文网,转载请注明出处,感谢您的尊重!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值