dannymet Expert Cheater
Reputation: 0
Joined: 01 Nov 2006 Posts: 140
|
Posted: Fri Feb 22, 2008 10:50 am Post subject: good php ban script |
|
|
I need a good php ban script with html on the ban page
i have got Code: | <?php
//IP Bans
$deny = file_get_contents("banned.php");
if(strpos($deny, $_SERVER['REMOTE_ADDR']) !== FALSE) {
die("You've been banned");
}
elseif(isset($_GET['help'])) {
die('Include following code into every page you would like to enforce bans, at the very beginning (first line):<br><?php include("' . str_replace('\\','\\\\',__FILE__) . '"); ?>');
}
?> |
but the Code: | die("You've been banned"); | area doesnt support html... can anyone help me?
_________________
my guide to hide anything into any file extension type here |
|