Chelf12
06-23-2009, 03:10 PM
<?php
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])){
die("Site has detected a proxy! Site will not load any further!</body></html>");
}
?>
Sans the PHP tags, where would the best place to place a hook for that? I found the script online, and it's free for use, and I want to hook it in as a plugin or product for vBulletin. Which hook would be best to use? I got it somewhat to work with the login process, where if you login through a proxy, you get a white screen, and cannot advance, I think.
if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])){
die("Site has detected a proxy! Site will not load any further!</body></html>");
}
?>
Sans the PHP tags, where would the best place to place a hook for that? I found the script online, and it's free for use, and I want to hook it in as a plugin or product for vBulletin. Which hook would be best to use? I got it somewhat to work with the login process, where if you login through a proxy, you get a white screen, and cannot advance, I think.