Home  >  Article  >  php教程  >  PHP重定向和页面快速转向

PHP重定向和页面快速转向

WBOY
WBOYOriginal
2016-06-02 09:15:01794browse


function turntopage($url="index.php",$info = "页面转向中...",$second=2){
print "n

n页面转向中....n";
print "n"; //开源代码phprm.com
print "n";
print "nn";
print "n";

//phprm.com

print "

n";
print " n";
print " n";
print " n";
print " n";
print " n";
print " n"; //开源phprm.com
print " n";
print " n";
print "
n";
print " n";

//开源代码phprm.com

print "

n";
print " n";
print " n";
print " n";
print " n";
print " n";
print " n";

//phprm.com

print "

n";
print " n";
print " n";
print "
页面转向提示信息
$info
n";
print " 如果你的浏览器不支持自动跳转,请按这里
n";
print "n";
exit;
?>

php重定向

方法一:header("location: index.php");
方法二:echo "window.location ="$php_self";īpt>";

//开源代码phprm.com

方法三:echo "";
?>

 

文章地址:

转载随意^^请带上本文地址!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn