Home > Backend Development > PHP Tutorial > PHP jump function code sharing

PHP jump function code sharing

WBOY
Release: 2016-07-25 08:54:51
Original
946 people have browsed it
  1. /**
  2. * Redirect the browser to the specified URL
  3. * PHP page jump code
  4. * @param string $url The URL to be redirected
  5. * @param int $delay How many seconds to wait before jumping
  6. * @param bool $js instruction Whether to return JavaScript code for jump
  7. * @param bool $jsWrapped indicates whether to use ';
  8. }
  9. if ($return) {
  10. return $out;
  11. }
  12. echo $out;
  13. exit;
  14. }
  15. ?>
复制代码


Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template