Yes, I understand someone could even trigger a HTTP request even using a telnet program simply. It still won't be a problem coz I just want to guide illegal access from ordinary users only. For professional guides, just give them a free lunch.
Back to the topic, this field is not mandatory. But pls understand the situation that both IE5.0 and IE6.0 HAVE SENT the referer to the web server in my case. As you may see below, the data transmitted from my IE to the web server via port 80(HTTP port). Obviously, they sent the referer to the web server but my PHP can't get the actual values of the HTTP_REFER if the browser is IE5.0.
Why? Pls help!
Thanks for your advice!
IE6.0
GET /test.php3?NAME=ABC HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, /
-------- Look Here ------------------------
Referer: http://www.abc.com/test/caller.jsp?
-------- Look Here ------------------------
client=ABC
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Host: 123.123.123.123
Connection: Keep-Alive
For IE5.0
GET /test.php3?NAME=ABC HTTP/1.1
Accept: /
-------- Look Here ------------------------
Referer: http://www.abc.com/test/caller.jsp?
-------- Look Here ------------------------
client=ABC
Accept-Language: en-us,zh-hk;q=0.8,zh-cn;q=0.5,zh-tw;q=0.3
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT; Tucows)
Host: 123.123.123.123
Connection: Keep-Alive