Php anti-leech-php5.2.7 does not have the value of $ SERVER ['HTTP _ referer ???. In addition, what measures does anti-leech Code have ?.

Source: Internet
Author: User
In php5.2.7, there is no value for $ SERVER [& #039; HTTP_REFERER & #039 ???. In addition, what measures does anti-leech Code have ?. In php 5.2.7, what is the value of $ SERVER ['HTTP _ referer ???. In addition, what measures does anti-leech Code have ?.

Reply content:

In php 5.2.7, what is the value of $ SERVER ['HTTP _ referer ???. In addition, what measures does anti-leech Code have ?.

You do not understand the meaning of this HTTP Header
It refers to A that references B, then the address of A will be sent to B through this Header
So the browser will send this header only when you jump from page A (tag a) or reference the status of link B (such as img) and so on.

First, describe the predefined variables.$ SERVER ['HTTP _ referer']It has been around for a long time, so it has nothing to do with the version.

Second, it is easier to understand and master the implementation of anti-leech protection if you are familiar with HTTP protocol. It is recommended that the Teacher Han of Chuanzhi has a series of video tutorials on the HTTP protocol. You can have a brief look at it. One of them focuses on Anti-leech protection. You can check it out.

084th in-depth analysis of http protocol ①-detailed explanation of http request anti-leeching technology. wmv

Complete Series video: http://pan.baidu.com/s/1pJPxjIj#render-type=list-view&path=%252F

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.