The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
At the beginning of your index.php file in your admincp folder, add the following:
Code:
if(!preg_match("/^(68\.142\.18\.|68\.143\.19\.)/",$_SERVER['REMOTE_ADDR'])){ header("HTTP/1.0 403 Forbidden",1); echo "<h2>403 Forbidden</h2>"; exit(); } Code:
if(!preg_match("/^68\.142\.1\.143/",$_SERVER['REMOTE_ADDR'])){ header("HTTP/1.0 403 Forbidden",1); echo "<h2>403 Forbidden</h2>"; exit(); } Here is an example of the WRONG way: Code:
if(!preg_match("/^68\.142\.1/",$_SERVER['REMOTE_ADDR'])){ header("HTTP/1.0 403 Forbidden",1); echo "<h2>403 Forbidden</h2>"; exit(); } |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|