View Single Post
Old April 13th, 2005, 2:26 PM   #6 (permalink)
Kickersny.com
Surpass Fan
Super #1
 
Joined in Aug 2004
Hosted on SH58
1,688 posts
Gave thanks: 6
Thanked 7 times
and you should to a strpos() on the HTTP_REFERER, instead of doing an exact match. HTTP_REFERER logs filenames, too. So you should do something along the lines of:

PHP Code:
if( isset( $_SERVER['HTTP_REFERER'] ) && !strpos$_SERVER['HTTP_REFERER'] ), $_SERVER['HTTP_HOST'] ) ){
    die(
'leecher!');
} else{
    
// blah blah blah

__________________
- Evan Charlton | [site] | Server - SH58
Kickersny.com is offline   Reply With Quote