BotScout Installation Instructions ver 1
ASP API code for use with the BotScout.com API
version 1 Code by Podge -
http://forum.snitz.com/forum
Download below
Installation instructions
The code in the attached zip file is generic code that queries BotScout to ascertain whether a particular visitor to your forum is a bot given the i.p. address, email address or username of the visitor.
1. Sign up for a free api key here - http://www.botscout.com/getkey.htm
2. Open inc_botscout.asp in any text editor (Notepad, Wordpad or Notepad++)
3. Edit the following line;
strBotScoutAPIKey = "whatever_your_key_is" ' register at botscout to get your key
so that it includes your api key. It should look something like this
strBotScoutAPIKey = "sjkdhsajkdhkj" ' register at botscout to get your key
4. Save and upload inc_botscout.asp to the same folder as the asp page you want to check for bots on.
5. Include the following line in the asp page you want to check for bots. This file contains the BotScout function that queries the BotScout API.
<!--#INCLUDE FILE="inc_botscout.asp"-->
Note that the line above should be outside the asp script delimiters <% %>. If your asp page is 100% asp code (no html interspersed) you may need to include code like this;
%>
<!--#INCLUDE FILE="inc_botscout.asp"-->
%<
6. In order to use the BotScout function you include code in your asp page which will be similar to this. You will need to customise it to suit your needs.
if botCheck(Request.Servervariables("REMOTE_HOST", Request.Form("Email"), Request.Form("Name")) > 3 then
Response.Write ("BotCheck: you have a spam score of:" & botCheck) ' Tell the user what the problem is
Response.End ' Stop processing
end if
If you only know the i.p. address your code may look like this;
if botCheck(Request.Servervariables("REMOTE_HOST", "none", "none") > 3 then
Response.Write ("BotCheck: you have a spam score of:" & botCheck) ' Tell the user what the problem is
Response.End ' Stop processing
end if
Support
Support is available for the code in this thread on the Snitz Forums.
If you post on the following thread please include as much information as possible and include and error messages.
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=68098