Thread
:
paysite owners how do u prevent http_refferer spoofing
View Single Post
06-22-2004, 12:58 AM
skillfull
Confirmed User
Industry Role:
Join Date: Apr 2003
Location: Quebec Calisse
Posts: 4,716
<?php
$USERIP = getenv("REMOTE_ADDR");
if (!strchr($USERIP, "Your IP Here")) {
echo "<hahahahahahahahaalert('Sorry, you are not allowed access');window.location='localhost/plugin/sorry.php';</hahahahahahahaha";
exit();
}
?>
__________________
mind at underdark dot cc
SEO Analyst
Thunder-Ball.net - Member
skillfull
View Public Profile
Visit skillfull's homepage!
Find More Posts by skillfull