Php page jump function page redirection
- If (isset ($ url ))
- {
- Header ("HTTP/1.1 303 See Other ");
- Header ("Location: $ url ");
- Exit; // from bbs.it-home.org
- }
- ?>
Note: "Localtion:" is followed by a space.
2. HTML-based tags are marked with HTML, that is, meta refresh-based tags. Example:
-
3. use a script as an example:
- $ Url = "http://bbs.it-home.org ";
- Echo "<! -- <Script language = "JavaScript"> ";
- Echo "location. href ="/'"; $ url ′";
- Echo "</SCRIPT> --> ";
- ?>
>>> Articles you may be interested in: PHP page jump Js page jump code PHP page jump (URL jump) code PHP jump function code sharing PHP page jump six methods PHP page jump code three implementation methods PHP page jump several methods PHP page jump a variety of methods PHP page jump summary PHP 301 jump method php url redirection (page jump) php code to achieve page jump a different method php to achieve page jump several methods
|