Location: PHPKode > projects > WebServer Sentry > icept/wipeignore.php
<?
#WebServer Sentry:-
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#WebServer Sentry uses PHPLOT class and IP2NATIONS and any licensing conditions of PHPLOT/IP2NATIONS remain with its respective copyright
#holder/licensing conditions.
#Reverse engineering this script is not permitted.Modifications to improve its performance are welcome as long as you document this at the sourceforge project page.
#Contact hide@address.com    
#########################################################################################################################################
#########################################################################################################################################
#Welcome to WebServer Sentry: Version 1.0:- Please note that Vic Kaprilian does not accept responsibility for the use of the script or any financial loss and it is being released because the E-Commerce/Internet needs it!.
include_once ('dbconnecticept.php');
session_start();
# isset must appear before session variable 112009vk.In this case line8
if (isset($_SESSION['uname']) && !empty($_SESSION['uname'])){
$Loggedby = $_SESSION['uname'];
}else{
echo "Session Inactive - Please Log in";
$Loggedby="";
}
if ($Loggedby != ""){
$ipw=$_POST['ipunignore'];
$ipw=trim($ipw);
$o="or";
$a="and";
$n="not";
$p="&";
if (strstr($ipw,$o)){
header("location:admin.php");
}else{
$ipw=$ipw;
}
if (strstr($ipw,$a)){
header("location:admin.php");
}else{
$ipw=$ipw;
}
if (strstr($ipw,$n)){
header("location:admin.php");
}else{
$ipw=$ipw;
}
if (strstr($ipw,$p)){
header("location:admin.php");
}else{
$ipw=$ipw;
}
if (strlen($ipw) < 8){
header("location:admin.php");
}else{
$ipw=$ipw;
}

if (strlen($ipw) > 32){
header("location:admin.php");
}else{
$ipw=$ipw;
}
// To protect MySQL injection (more detail about MySQL injection)
$ipw = stripslashes($ipw);
$ipw = mysql_real_escape_string($ipw);

if (ctype_alnum($ipw) == True){
$ipw = $ipw;
  }else{
 header("location:viewall.php");
}

if($Loggedby!=""){
$query = "DELETE FROM $tbl_name6 WHERE (igip = '$ipw')";
$result = mysql_query($query);
header("location:admin.php");
}else{
mysql_close();
session_destroy();
echo "No Entry - Try Again";
header("location:viewall.php");
}
}
#WebServer Sentry:-
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT	
#   Copyright Vic Kaprilian(C)2010 - Contact hide@address.com Version 1.0 WebServer Sentry Anti FLOOD/ANTI DOS SCRIPT
#WebServer Sentry uses PHPLOT class and IP2NATIONS and any licensing conditions of PHPLOT/IP2NATIONS remain with its respective copyright
#holder/licensing conditions.
#Reverse engineering this script is not permitted.Modifications to improve its performance are welcome as long as you document this at the sourceforge project page.
#Contact hide@address.com    
#########################################################################################################################################
#########################################################################################################################################
#Welcome to WebServer Sentry: Version 1.0:- Please note that Vic Kaprilian does not accept responsibility for the use of the script or any financial loss and it is being released because the E-Commerce/Internet needs it!.
?>
<html>
<body bgcolor="red">
<div align="center">
<font size="9">
<br>
Record Deleted from IGNORE IP list.
</font>
</div>
<br>
<br>
<div align="center">
<br>
<br>
<a href="admin.php"> Back to the Command Center</a>
<br>
<br>
Vic Kaprilian &copy; 2010
</div>

</body>
</html>
Return current item: WebServer Sentry