I.T. Mate
                      Product Support
Menu: Home | Blog | Contact Us | Documents | Forums | Knowledge Base | Search | Services RSS

.... NEVER FORGET! ....
Quick Search
 

Products
AB Extension Pack
ACF Notes
ActiveScan Cleaner
B Gone
Bit Defender Cleaner
Black Jack
Chess
Cookie Info
Cup Holder
Dir 2 File
DUN AC
FreeScan Cleaner
Guestbook Generator
Housecall Cleaner
hpHosts
hpObserver
Index.dat QV
Index.dat Suite
ISPs Nightmare
Mouse Mat
Outlook Export
PUI
Quick Info
Quick Ren
RF Types
Rip Wiz 2003
S Lock
SMTP Finder
Spambot Search Tool
vURL Desktop Edition
Home > Products > Spambot Search Tool

Spambot Search Tool

  1. Overview
  2. Download
  1. FAQ
  2. How To's
  1. Screenshot
  2. System Requirements
How To's
How do I add a whitelist?
How do I add the counter to my website?
How do I install this?


How do I add a whitelist?
I was asked recently by a friend, if there was a whitelisting function, and whilst it does not currently have one, you can add one yourself.

To do so, follow the steps below.

1. Open check_spammers_plain.php
2. Find (approx line #518):

// ********************************************
// Okay, lets process the details shall we?
// ********************************************


3. Add BEFORE:

// Check Whitelist
$sWhitelist = file_get_contents('whitelist.txt');
if(strpos($sWhitelist, $sName) || strpos($sWhitelist, $sMail) || strpos($sWhitelist, $sIP)){
     die('FALSE');
}


4. Save and close the file.
5. Create a new text file called whitelist.txt

You can now add any IP/username/e-mail you want to whitelist, to whitelist.txt, remembering to seperate them with a comma. For example;

1.2.3.4,joe@box.com,2.2.2.2,etc,etc

How do I add the counter to my website?
The code to add the counter is located in index.php, but for clarity, all you need to do is paste the following wherever you'd like it to appear in your webpage (e.g. site_footer.php to include it in the footer of all of your sites pages);

<?php
if(file_exists('counter.txt')){
include('counter.txt'); echo ' spammers blocked';
}
?>

How do I install this?
All you need to do to install this is;

1. Download check_spammers.zip
2. Extract the Check_Spammers folder
3. Copy/Upload the Check_Spammers folder and ALL of it's contents, to a folder on your web server.

Note, you MUST ensure you upload it to a publicly accessable folder, for example on IIS this would be;

/htdocs/

Or

/wwwroot/


4. Ensure counter.txt and the spambots folder, are writable by the web server.


Give us Feedback! Forums
End User Licence Agreement | Help Us | Privacy Policy | Terms of Use
Copyright 1998 - 2017 I.T. Mate - All Rights Reserved
counselling-valvate
counselling-valvate
counselling-valvate
counselling-valvate
Give us Feedback! Forums