The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I want to block any traffic coming from 119.63.196.x but I can't use an HTACCESS file because I'm on a Windows Server (we have an ASP.Net website).
To block the IP address, I want to run this PHP script on every page: Code:
if(substr($_SERVER['REMOTE_ADDR'], 0, 10) == "119.63.196"){exit;} Should I add this code to the global.php file? (I'm using vBulletin 3.7.4) In case you were wondering, 119.63.196 are Baiduspider bots. Baidu is China's search engine (like Google) and they have dozens of spiders constantly indexing our site. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|