This article for you to introduce the use of PHP pop-up box and jump to the new page, which is what we think of the redirect, the following example can be consulted
These two days to write a demo, need to use the hint and jump, the main page requirements are not high, feel no need to use AJAX,JS, and so on, so study how to prompt in PHP and jump. First used the following: The code is as follows: echo ""; Alert inside is a hint of the message, href is prompted to jump after the page. Then I thought of a redirect () redirection method in the TP framework and went to see it. But the TP comes with is not a popup window, so oneself changed: code as follows: Echo ""; echo " "; $url is the page to jump, at the same time, this can also control the jump time, the content behind the 0 is 0 seconds after the jump. Here, MO is given two ways to jump directly: The code is as follows: Header ("Location:".) Psys_base_url. " User/index "); and code as follows: Header ("refresh:{$time};url={$url}"); These two ways without prompting, jump directly. The following one is recommended. Finally, there is a problem, the jump code followed by a return, because the subsequent statements will be executed
http://www.bkjia.com/PHPjc/727555.html www.bkjia.com true http://www.bkjia.com/PHPjc/727555.html techarticle This article for you to introduce the use of PHP pop-up box and jump to the new page, which is what we think of the redirect, the following example can refer to the next two days to write a demo, need to use ...