Ban IP Addresses 1.0

Operating systemsOS : Windows / Linux / BSD
Program licensingScript Licensing : GPL - GNU Public License
CreatedCreated : Jun 15, 2007
Size downloadDownloads : 3
Program licensing
Thank you for voting...

This contribution is dedicated to all those that make ...

This contribution is dedicated to all those that make returns and false orders.
Description:
The above code can be modified and new lines can be added to ban a certain list of IP addresses from your website.
The exit(); function simply stops the script from that point.
Place this at the top of your php scripts to prevent access to those IP addresses listed.
Installation
To locate this line in catalog/default. php or catalog/index. php depending on the version:
>
Later to put this code:
$banned_ip = array();
$banned_ip[] = '111. 111. 111. 111';
$banned_ip[] = '111. 111. 111. 112';
$banned_ip[] = '111. 111. 111. 113';
$banned_ip[] = '111. 111. 111. 114';
foreach($banned_ip as $banned) {
$ip = $_SERVER['REMOTE_ADDR'];
if($ip == $banned){
echo "You have been banned!";
exit();
}
}
// rest of PHP Script here!
?

Ban IP Addresses 1.0 scripting tags: addresses, oscommerce addon, exit, ban addresses, bannedip, catalog. What is new in Ban IP Addresses 1.0 software script? - Unable to find Ban IP Addresses 1.0 news. What is improvements are expecting? Newly-made Ban IP Addresses 1.1 will be downloaded from here. You may download directly. Please write the reviews of the Ban IP Addresses. License limitations are unspecified.