The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Redirect malicious page loads
Is there a way to add this into the forum index.php??
<? $gawd = array ("xxx.xxx.xxx.xxx", "xxx.xxx.xxx.xxx", "xxx.xxx.xxx.xxx"); foreach($gawd as $kill) { if (ereg($kill, $_SERVER['REMOTE_ADDR'])) { header('Location: http://www.ic3.gov'); exit(); } else { LOAD FORUM INDEX HERE; exit(); } } ?> I know I can ban them in the CP but this still uses resources to load the error page. Wouldn't something like this be less intensive. maybe .htaccess would be a better way to go. I dunno what does anyone think? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|