Home >Backend Development >PHP Tutorial >PHP scheduled jump_PHP tutorial

PHP scheduled jump_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:58:58945browse

Use PHP to implement "wait for the specified time and then jump to the specified page".
That is, using php to implement and
in HTML Same effect.

/**
@title:PHP scheduled jump
@Function: Wait for the specified time, and then jump to the specified page (replacing the html meta method)
*/
header("refresh:3;url=http://www.etoow.com");

print('Loading, please wait...
It will jump automatically in three seconds~~~');


/*
Additional explanation:
If the waiting time is 0, it is equivalent to header("location:").
*/

?>

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631933.htmlTechArticleUse PHP to wait for the specified time and then jump to the specified page. That is, use PHP to implement and HTML The same effect. ? /** @title:PHP scheduled jump @Function: Wait for the specified time,...
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