function turntopage($url="index.php",$info = "页面转向中...",$second=2){
print "n
n页面转向中....n";print "n"; //开源代码jquerycn.cn
print "
print "td { font-family: "verdana", "arial";font-size: 12px}n";
print "a {color: #000000; text-decoration: none}n";
print "-->nn";
print "n
n";print "
//jquerycn.cn
print "
n";print "
n";print "
n";print "
n";print "
n";print "
//开源代码jquerycn.cn
print "
n";print "
页面转向提示信息n";print "
n";print "
n";print "
$infon";print "
n";print "
n";//jquerycn.cn
print "
n";print " 如果你的浏览器不支持自动跳转,请按这里
n";print "
n";print " n";
print "
n";print "
n";print "
n"; //开源jquerycn.cnprint "
n";print "
n";print "
n";print "n";
exit;
?>
php重定向
方法一:header("location: index.php");
方法二:echo "window.location ="$php_self";";
//开源代码jquerycn.cn
方法三:echo "";
?>