|
|
|
Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!
Forum - Wrong verification code
rvanriel |
2009-01-08 08:20:57 |
|
Hello, i have a problem with my verification. I have a perl script and
everytime when i fill in the correct code i get a messeage that i fill
in de wrong code. The only thing i changed is the translation of the
error message.
The script:
use LWP::Simple; use CGI; use URI::Escape;
CGI::ReadParse();
my $pwf_message = "De code die u ingevoerd heeft komt niet overeen. Ga
terug en voer de code opnieuw in";
if(length($FORM{'protectwebformcode'}) > 30) {
print "Content-type: text/html\n\n".$pwf_message;
die;
}
my $protectwebformresult =
get("http://protectwebform.com/verify01?vui=28212&vp=936h5wn8df1p&ri="
. uri_escape($ENV{'REMOTE_ADDR'}) . "&vs=" .
uri_escape($FORM{'protectwebformcode'}));
if($protectwebformresult =~ m/<authorization status="0"/) {
print "Content-type: text/html\n\nWaarschuwing. Het is niet
toegestaan om het plaatje te gebruiken die door
http://www.protectwebform.com is verzorgt. Lees
http://www.protectwebform.com FAQ voor meer informatie";
}
if($protectwebformresult !~ m/<verification result="yes"/) {
print "Content-type: text/html\n\n".$pwf_message;
die;
}
What's wrong with it? |
Post Reply:
You must be logged in to reply.
|
Post message
|
Registered users: 87650
Forms protected: 48551
Further Reading & Anti Spam Resources:
Directory
|
|