PHP page Jump function page redirection

Source: Internet
Author: User
    1. if (Isset ($url))
    2. {
    3. Header ("http/1.1 303 See other");
    4. Header ("Location: $url");
    5. Exit From bbs.it-home.org
    6. }
    7. ?>
Copy Code

Notice that "localtion:" has a space behind it.

HTML markup with HTML tags, is the use of meta-refresh mark. Example:

    1. Copy Code

      Third, use the script for example as follows:

      1. $url = "http://bbs.it-home.org";
      2. echo <!--< SCRIPT language= "JavaScript" > ";
      3. echo "location.href="/′ "; $url";
      4. echo "</script>-->";
      5. ?>
      Copy Code

      >>> you may be interested in the article: PHP page jump js page jump code php page jump (URL address jump) implementation code PHP jump function code share PHP Page Jump Six ways PHP page jump code of three ways to implement PHP page jump several ways PHP page Jump method Summary php 301 Jump method Detailed php URL redirection (page jump) Code PHP Implementation page Jump method of PHP implementation of several ways

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.