Home >Backend Development >PHP Tutorial >PHP source code---page quick redirect_PHP tutorial
print " print "
function turntopage($url="index.php",$info ="Page redirecting..." , $second=2){
print "nn
print "refresh" content="$second;url=$url">n" ;
print "n";
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">page redirect message n";
print "
print " n"; n";
print " center">$info n";
print "
print " n"; n";
print " center">n";
print " $url">If your browser does not support automatic jump, please click here td>n";
print "
print " n";
print "
print "
print " n";
n"; 200"> n";
print "
print "
print "n";
exit;
?>