关于php重定向
方法一:header(location: index.php);
方法二:echo ;
方法三:echo ;
方法四:
html代码
ob_clean();
include(next.php);
ob_end_flush();
?>
还有没补充的。。
------解决方案--------------------
应该是木有了。。不过1,2,3都是跳转,意思是浏览器接收第一个页面http返回后向第二个页面做一次http get请求
4嘛就是个文件引入,不算跳转。
------解决方案--------------------
这个头像好可爱。。。
------解决方案--------------------
难道4种还不够用?
这张更可爱:http://my.csdn.net/my/album/detail/1074601
------解决方案--------------------
我觉得重定向,应该是第一条用得多:header(location: index.php);
比如301,404重定向等。header(http/1.0 404 not found); 这些用在开源系统都比较常见。
------解决方案--------------------
没有了