Welcome, Guest!!
follow us on... rss

Author Topic: Just a note ....  (Read 57038 times)

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #15 on: January 29, 2009, 08:38:51 PM »
heh just added it, went to the URL you mentioned above (appended the form API key) and it's returning an "Invalid API key" error.

Where does it give me the file to upload to the server btw? (can't see an option for it)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Just a note ....
« Reply #16 on: January 29, 2009, 08:57:05 PM »
heh just added it, went to the URL you mentioned above (appended the form API key) and it's returning an "Invalid API key" error.

Where does it give me the file to upload to the server btw? (can't see an option for it)
Yep, it's not matching. We're looking at alternative ways to get a reliable IP address because the gethostbyname() function appears to have issues with some records.

The form (file) code isn't ready yet, but we expect to have a prelim version within a day or so. I'll get you a copy as soon as it's available.
Please don't PM me for assistance- post your questions in the forum where others can see them.

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #17 on: January 29, 2009, 09:49:54 PM »
Nice one, cheers :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Just a note ....
« Reply #18 on: January 29, 2009, 10:03:57 PM »
Okay, let's try this again....delete the entry and then add it again. It should come up with the correct IP now.
Please don't PM me for assistance- post your questions in the forum where others can see them.

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #19 on: January 29, 2009, 10:29:11 PM »
Worked perfectly, cheers :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Just a note ....
« Reply #20 on: January 29, 2009, 11:06:03 PM »
Worked perfectly, cheers :)
Hmmm, I'm not certain, you might want to do it again. I'll have another look in the morning to make sure.
Please don't PM me for assistance- post your questions in the forum where others can see them.

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Just a note ....
« Reply #21 on: January 30, 2009, 06:40:50 AM »
I'll definately need more than 300 per day (the SBST gets in excess of 5000 queries per day on a single site, and I've got it installed on 3 sites so far (no idea of the traffic to them on the other two sites as I don't monitor them)).
Wow, you weren't kidding....we had raised your initial query limit to 800/day, but I noticed first thing this morning that it had already topped out. I just raised it to 5000/day, and I'll keep an eye on it to make sure it doesn't get overrun again.
Please don't PM me for assistance- post your questions in the forum where others can see them.

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #22 on: January 30, 2009, 08:58:26 AM »
hehe ;) (got the SBST script on a few very high traffic (and consequently, very spammer friendly) sites)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #23 on: January 30, 2009, 09:03:20 AM »
I've asked him to join over here, but just as a heads up;

http://www.stopforumspam.com/forum/p3053-Today-2%3A46#p3053
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Just a note ....
« Reply #24 on: January 30, 2009, 09:17:30 AM »
I've asked him to join over here, but just as a heads up;

http://www.stopforumspam.com/forum/p3053-Today-2%3A46#p3053
No problem; we'll be glad to help him out.

If you have any sample or development code that you'd like to share, we'd be more than happy to post it or link to it (and credit you, of course). 
« Last Edit: January 30, 2009, 09:22:03 AM by Mike »
Please don't PM me for assistance- post your questions in the forum where others can see them.

diabolic.bg

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Fallout Vault BG - The Bulgarian 'Radioactive Oasis'
Re: Just a note ....
« Reply #25 on: January 30, 2009, 10:03:33 AM »
Hi, I'm new here and have a problem. Today four times I try to get API but get an error:
Quote
There was an error creating your API Key entry.

NOTE: Failure to create an API Key may be due to duplicate web site or email addresses. An API Key may be used across an entire domain, so you don't need to create multiple API Keys to use the bot testing code on different pages of your site.

If this error persists, please contact the Administrators and inform them of this problem.
Help me please!

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Just a note ....
« Reply #26 on: January 30, 2009, 10:06:46 AM »
Hi, I'm new here and have a problem. Today four times I try to get API but get an error
Help me please!

Welcome, Diabolic. Could you please post the user name, domain name, and email that you're trying to sign up with? If you don't want to post them publicly, please PM them to me.

Please don't PM me for assistance- post your questions in the forum where others can see them.

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #27 on: January 30, 2009, 10:58:54 AM »
I've asked him to join over here, but just as a heads up;

http://www.stopforumspam.com/forum/p3053-Today-2%3A46#p3053
No problem; we'll be glad to help him out.

If you have any sample or development code that you'd like to share, we'd be more than happy to post it or link to it (and credit you, of course). 

Feel free to post it :) The code I wrote that checks BS is;

Code: [Select]
// *********************************************************************************
// BEGIN CHECK BOTSCOUT
// *********************************************************************************
//
// Check the e-mail address against BotScout
//
if($mail !='' && $sBSAPI !=''){
$bFoundMatch=false;
$fspamcheck = getURL('http://botscout.com/test/?key='.$sBSAPI.'&mail='.$mail);
if (strpos($fspamcheck, '! ') !==False) {
$bFoundMatch = false;
echo 'Error: '.$fspamcheck;
}else{
if (strpos($fspamcheck, 'Y|') !==False) {
$bFoundMatch = true;
}
}
if($bFoundMatch==true){
$bsspambot = true;
} // End if($bsxml->appears == 'Y') (Email)
} // End If

//
// Now check the IP
//
if($ip !='' && $sBSAPI !=''){
$bFoundMatch=false;
$fspamcheck = getURL('http://botscout.com/test/?key='.$sBSAPI.'&ip='.$ip);
if (strpos($fspamcheck, '! ') !==False) {
$bFoundMatch = false;
echo 'Error: '.$fspamcheck;
}else{
if (strpos($fspamcheck, 'Y|') !==False) {
$bFoundMatch = true;
}
}
if($bFoundMatch==true){
$bsspambot = true;
} // End if($bsxml->appears == 'Y') (IP)
        } // End If

//
// Lets check the username
//
if($name !='' && $sBSAPI !=''){
$bFoundMatch=false;
$fspamcheck = getURL('http://botscout.com/test/?key='.$sBSAPI.'&name='.$name);
if (strpos($fspamcheck, '! ') !==False) {
$bFoundMatch = false;
echo 'Error: '.$fspamcheck;
}else{
if (strpos($fspamcheck, 'Y|') !==False) {
$bFoundMatch = true;
}
}
if($bFoundMatch==true){
                $bsspambot = true;
} // End if($bsxml->appears == 'Y') (username)
} // End If

if($bsspambot == true){
$spambot = true; // Required seperately now that dumping to a text file is optional
echo 'BotScout ';
}
// *********************************************************************************
// END CHECK BOTSCOUT
// *********************************************************************************

getURL is a function I wrote that allows determination of whether to use cURL or file_get_contents;

Code: [Select]
function getURL($sURL){
if(!function_exists('file_get_contents')){
// Use file_get_contents
$sURLTemp = file_get_contents($sURL);
}else{
// Use cURL (if available)
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $sURL);
curl_setopt($curl, CURLOPT_VERBOSE, 1);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
$sURLTemp = curl_exec($curl);
curl_close($curl);
}
return $sURLTemp;
}
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Just a note ....
« Reply #28 on: January 30, 2009, 11:28:43 AM »
Great, I'll post this on the download page as well as in a 'Code Samples" thread. Thank you!
Please don't PM me for assistance- post your questions in the forum where others can see them.

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Just a note ....
« Reply #29 on: January 30, 2009, 11:30:20 AM »
My pleasure :)
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net