php tutorials redirects and page quick turnaround
<?
function turntopage ($ url = "index.php", $ info = "page turn in ...", $ second = 2) {
print "<html> n <head> n <title> page to go .... </ title> n";
print "<meta http-equiv =" refresh "content =" $ second; url = $ url "> n"; // open source jzread.com
print "<style type =" text / css tutorial "> n <! - n";
print "td {font-family:" verdana "," arial "; font-size: 12px} n";
print "a {color: # 000000; text-decoration: none} n";
print "-> n </ style> n";
print "</ head> n <body> n";
print "<table width =" 100% "border =" 0 "align =" center "> n";
//jzread.com
print "<tr> n";
print "<td height =" 200 "> </ td> n";
print "</ tr> n";
print "<tr> n";
print "<td align =" center "> n";
print "<table width =" 60% "border =" 0 "cellpadding =" 8 "bgcolor =" # aa9fff "> n";
// Open source jzread.com
print "<tr> n";
print "<td height =" 30 "align =" center "> page turn information </ td> n";
print "</ tr> n";
print "<tr> n";
print "<td align =" center "> $ info </ td> n";
print "</ tr> n";
print "<tr> n";
//jzread.com
print "<td align =" center "> n";
print "<a href="$url"> If your browser does not support automatic jumps, click here </a> </ td> n";
print "</ tr> n";
print "</ tr> n";
print "</ table> </ td> n";
print "</ tr> n";
print "<tr> n"; // open source jzread.com
print "<td height =" 200 "> </ td> n";
print "</ tr> n";
print "</ table> n";
print "</ body> n </ html>";
exit
?>
php redirect
<?
Method one: header ("location: index.php");
Method two: echo "<scrīpt> window.location =" $ php_self "; </ scrīpt>";
// Open source jzread.com
Method three: echo "<meta http-equiv =" refresh "content =" 0; url = index.php ">";
?>