Sign in:
Username:
Password:  
»Forgot your password?

Home | Forum | How to Protect Your Web Form | How to Protect Your Email | Sign Up

Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!

Forum - Wrong verification code

PostMessage
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
Name: 
Email: 
Url: 




Registered users: 86605

Forms protected: 48551

Further Reading & Anti Spam Resources:

Directory


    ©Copyright 2006 ProtectWebForm.com. All rights reserved. Read our Privacy Policy

Page copy protected against web site content infringement by Copyscape