Home > php教程 > php手册 > body text

PHP重定向和页面快速转向

WBOY
Release: 2016-06-02 09:15:01
Original
839 people have browsed it


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 "";
?>

 

文章地址:

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

source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!