Hey guys, i was just reading some thread about Sulake visiting retros....
This pic gave me a simple idea...
Spoiler:
Use this code to keep anyone on the sulake.com network away from your site.
just change siteclosed.php to where ever you want to redirect them to like Urban Dictionary: get the fuck outPHP Code:$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
if (strpos($hostname,"sulake.com")) {
header("location: siteclosed.php");
}
you can put that code in your global or where ever.




Reply With Quote


