Bot Defense - developed by http://rankboosting.com - FREEWARE
V1.1 brings you e-mail notification and blocks content filling by bots, it records the server ip where the script is located
v1.2 NEW e-mail notification for all spam methods, not only for the most used by bots, receive e-mail with the ip of the user and of the server.
To check for new versions please go to http://rankboosting.com

_______________________
Instalation:
1) Download the archive
2) Place it in your root directory of your website
3) Unzip the archive; you should have a new directory called "botdefense"
4) Check the permission for the count_ip.txt and count_file.txt; they must have the permission set to 766
5) Insert this code in all your pages (depending on your site you need to modify a file or more so that the code is loaded on all pages), if you have a template place it there after the <body> tag
code:
<?php include 'botdefense/verbot.php'; ?>
6) Edit your template CSS and add the following code
code:
.something {
    display:none;
    visibility:hidden;}
div.botleft{
    display:block;
    position:fixed;
    bottom:-4px;
    left:0px;
    width:300px;
    background:transparent;
    border:0px;}
7) Load your page in the browser, you should have the Bot Defense logo and the counter in the bottom left corner 

_______________________
Testing:
To test if all is working you must edit the botdefense/verbot.php file. Simply add "//" before the following lines:
$out="<span class=\"something\">\n";
and
$out.="</span>\n";
After this load the page, you should see an input field in the top of your page, enter a value in this field and hit enter or click anywhere on the page (not a link). You should be redirected to thankyou.php your ip should be recorded and the value of the counter increased.

For every fake submission that was blocked by the Bot Defense you can receive an e-mail with some fields submitted by the bot. In this you way you can know for sure that the script is indeed working.
For server ip notification (this method is used by most spam bots):
Edit the file verbot.php, go to the line containing /*$to = "YOUR_EMAIL"; and remove '/*', got to the line containing }*/ and remove '*/'. Next, you'll have to replace 'YOUR_EMAIL' (it's twice) with your e-mail address, and 'YOUR_NAME_OR_DOMAIN' with your desired name.
For user ip notification (if it's a manual spam you'll receive in the e-mail the ip of the user also):
Edit the file thankyou.php, go to the line containing /*$to = "YOUR_EMAIL"; and remove '/*', got to the line containing }*/ and remove '*/'. Next, you'll have to replace 'YOUR_EMAIL' (it's twice) with your e-mail address, and 'YOUR_NAME_OR_DOMAIN' with your desired name.
 

_______________________
Download other Graphic SKIN:
You can download a new skin to blend with your website from here:
http://rankboosting.com/index.php?option=com_content&view=article&id=81:bot-defense-skins&catid=36:tools-for-webmasters&Itemid=69

_______________________
Because this is offered as a Freeware we would appreciate if you DON'T ALTER in any way the code. If you have suggestions please contact us so we can modify or add some new feature. In this way others will also benefit from this anti-spam code. 
Let's fight the submission bots, get this code now! http://rankboosting.com