header()函数的定义如下:
void header (string string [,bool replace [,int http_response_code]])
//重定向浏览器
header(“location: http://blog.csdn.net/abandonship”);
php页面跳转二、meta标签
meta标签是html中负责提供文档元信息的标签,在php程序中使用该标签,也可以实现页面跳转。若定义http-equiv为 refresh,则打开该页面时将根据content规定的值在一定时间内跳转到相应页面。若设置content=”秒数;url=网址”,则定义了经过 多长时间后页面跳转到指定的网址。
php页面跳转三、javascript echo下面js代码
window.location.href=’$url’
三种, 跳转, php
