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