Heim >Backend-Entwicklung >PHP-Tutorial >PHP源码---页面快速转向_PHP教程
print " print "
function turntopage($url="index.php",$info = "页面转向中...",$second=2){
print "nn
print "
refresh" content="$second;url=$url">n";
print "/css">nnn";
print "nn";
print "
100%" border="0" align="center">n";
n";
print " n"; n";
print "
200">
n";
print "
print " n"; n";
print "
center">n"; n";
print "
60%" border="0" cellpadding="8" bgcolor="#AA9FFF">n";
n"; n";
print "
30" align="center">页面转向提示信息
n";
print "
print " n"; n";
print "
center">$info
n";
print "
print " n"; n";
print "
center">n"; n";
print " $url">如果你的浏览器不支持自动跳转,请按这里
print "
print " n";
print "
print "
print " n";
n";
200">
n";
print "
print "
print "n";
exit;
?>