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 - Verification code is wrong?

PostMessage
twilight
2007-05-31 17:34:16
Whenever someone tries to comment on my site, it always says "The
image code you have provided does not match the actual one. Hit the
'back' button of your browser and input the correct code please." even
though the code is correct. I tried reading all the other topics on
this but just didn't get it. Could someone explain it to me please?
Thanks!
miroivanovic
2007-06-19 16:24:11
I've got the same problem...it worked for two months and from
yesterday it went crazy...what is wrong?
oleg
2007-06-19 16:29:34
Could you describe the situation,
1. what type of installation are you using
2. what are your site urls.
3. did you upgrade smth. e.g. browser, OS


hafnerdesigns
2007-06-23 15:03:52
I have a similar problem... except for me if my customer lives a
required field empty, they are given a page that tells them to hit the
back button to fill in the missing field. When you hit the back
button, you go back to the form you were filling out, with all the
fields filled in except the one you missed. Even the the CAPTCHA field
is filled in... The image has not changed. When you hit submit again
you get the message, "The image code you have provided does not match
the actual one. Hit the 'back' button of your browser and input the
correct code please." If you hit the reload image button, it does more
than reload the image... It reloads the whole page. So then you have
to refill in the form... WHAT A PAIN!

In the string for the reload, "<span style="visibility:show;" NOWRAP
id="protectwebform_reload_block">&nbsp; &nbsp;<a
id="protectwebform_link_reload" href="" title="Click here to reload
the image." onclick="return protectwebform_reload_image();"><img
src="http://www.protectwebform.com/images/reload.gif"
border=0></a></span>" it has an empty href... Is there a reason for
this?

Thanks for the help.

Heidi
bernabauer
2007-06-24 06:22:22
i have the same problem. Just installed the wordpress plugin. entering
the right code the script says it is wrong :-(

you can test it @ bernabauer.com
oleg
2007-06-24 06:53:13
2 hafnerdesigns, try to use second html code, which is given on the
installation page. Last has a javascript automatic reload function.
This can help.

2 bernabauer,
Currently trying to find out what is wrong.
hafnerdesigns
2007-06-24 10:07:26
Oleg,

I am using the 2nd HTML script... However, if I keep the script where
you have it, then the images and box will not appear. If I move the
javascript up to where my form begins all is visible, but the reload
image button doesn't work right.
Heidi
oleg
2007-06-24 13:55:36
Heidi,

could you give me a link to your form please.

bernabauer
2007-06-24 14:05:35
I turned of the SMART Captcha, because it was also giving the same
error message.

Any clue why this is happening?
oleg
2007-06-24 14:53:01
2 bernabauer,
could you find the plugin file and chage the
"@file_get_contents" to "file_get_contents".
This will enable errors. Then try to submit the form.
If you see any warning or errors, then you might have this function
disabled by ISP, then I will try to fix this by adding additional
function.
bernabauer
2007-06-24 15:13:41
Hi there again! Thanks for the tip! I use Dreamhost and they disabled
the file_get_contents command.

I changed this:

$protectwebformresult =
@file_get_contents(
"http://www.protectwebform.com/verify01?vui={$protectwebform_id}&vp={$protectwebform_passphrase}&ri="
.
urlencode($_SERVER['REMOTE_ADDR']) . "&vs=" .
urlencode($_POST['protectwebformcode']));


to this:

$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL,
"http://www.protectwebform.com/verify01?vui={$protectwebform_id}&vp={$protectwebform_passphrase}&ri=".
urlencode($_SERVER['REMOTE_ADDR']) . "&vs=" .
urlencode($_POST['protectwebformcode']));
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
$protectwebformresult = $file_contents;

and now works like a charm! Thanks for the help!
hafnerdesigns
2007-06-24 15:52:31
oleg, one of my forms is at
http://www.storyconnection.net/?content=contact

Heidi
oleg
2007-06-24 16:13:40
hafnerdesigns,

I can see, you did some modifications to the code. The reload button
is not currently working at all, cause the javascript which must
reload the button is missed. If you remove javascript you must not
make this button visible, but you did: "visibility:show;"

Could you put the initial code which was given to you to the form
instead of current one, then I will be able to see what is wrong.
If you still have problems with new code, could you also tell me your
browser version, and OS version.

Oleg.
hafnerdesigns
2007-06-27 20:32:51
Oleg,

The java script is still there, just up a couple lines. If I put the
java script in the place that you have it, then the image and buttons
do not show up.
hafnerdesigns
2007-06-27 20:58:22
Oleg,

I have moved the JS down to where your script says it should be.. now
my images are invisible.

http://storyconnection.net/?content=contact

Thanks,

Heidi
oleg
2007-06-29 02:21:35
hafnerdesigns,
"If I put the
java script in the place that you have it, then the image and buttons
do not show up."

That is right behavior, cause you have smart captcha enabled.

If you want to desable it, log in to your account, go to "My
Verification Urls" and click "Disable Smart Captcha" under your
verification urls.

Oleg
hafnerdesigns
2007-06-29 12:29:06
Oleg,

Thank you for clarifying that for me. I did not fully understand the
Smart Captcha. I will try the Smart Captcha first... However, if I do
disable the Smart Captcha, would I then have to remove the
javascript?

Heidi
oleg
2007-06-29 13:07:51
Heidi,

you do not need to remove javascript, otherwise reload button and
audio will stop working.

Oleg.
afontaine
2007-07-07 12:35:06
Hi I am having the same problem with the new captcha installation, no
matter which setup I use, the captcha always returns the denial
message.

http://quaboag.net/modules.php?s=&mop=modload&file=index&name=Feedback

If I can figure this out I'll let other vBPortal users know how to
operate this. Thanks.
afontaine
2007-07-07 12:39:26
BTW this problem exists on Firefox 2.0.0.4 for Linux (RHEL5) as well
as Firefox 2.0.0.4 and IE6 on Windows XP.
oleg
2007-07-07 12:52:44
try to read: http://www.protectwebform.com/forum/topic/68/
and
http://www.protectwebform.com/forum/topic/90/
topics, maybe they help

Oleg.
brigichan
2008-07-25 00:26:21
Dear Oleg, could you please help me too? I have the same problem as
the others above, and all of my commenters have the same problem, that
the code is never accepted when entered.

I have cutenews 1.4.5., and here is my site:
http://johnnyweir.extra.hu/

[I had so much spam that my page actually crashed at one point, that's
why I desperately need some spam protection and the one here looked so
easy and nice, only this verificytion code trouble... :( ]

Thank you in advance.
nhnz
2008-07-28 20:17:05
I am trying to install your Captcha service on a site that is still
under construction, but the form is live. I get the same problem as
twilight described in the original post. I have read the related posts
Oleg suggested on 7 July, but cannot see how that will help me.

I used the installation instructions at
http://www.protectwebform.com/m/vercodes?ver_urls_id=23409 and copied
the code onto the HTML page and into the FormMail.pl file.

The form is at http://nhnzmovingimages.com/research.php

The code in FormMail file is:
#!/usr/bin/perl -w
###################################################
# Code provided by http://www.protectwebform.com
use LWP::Simple; use CGI; use URI::Escape;
CGI::ReadParse();
my $pwf_message = "The image code you have provided does not match the
actual one. Please hit the 'back' button of your browser and try
again.";

if(length($in{'protectwebformcode'}) > 30) {
print "Content-type: text/html\n\n".$pwf_message;
die;
}

my $protectwebformresult =
get("http://protectwebform.com/verify01?vui=23409&vp=nwpmzg20ckyq&ri="
. uri_escape($ENV{'REMOTE_ADDR'}) . "&vs=" .
uri_escape($in{'protectwebformcode'}));

if($protectwebformresult =~ m/<authorization status="0"/) {
print "Content-type: text/html\n\nWarning. You are not authorithed
to use image protection provided by http://www.protectwebform.com.
Read http://www.protectwebform.com FAQ for more information";
}
if($protectwebformresult !~ m/<verification result="yes"/) {
print "Content-type: text/html\n\n".$pwf_message;
die;
}
# End of code provided by http://www.protectwebform.com
####################################################

I would appreciate some help to get this working, since it seems it
will be a great service if I can get it going!

Many thanks, Leta
nhnz
2008-07-31 18:15:23
Well, that's really sad. I see I am not the only one who cannot get
help on this forum. That means I have to pull out from this
potentailly great service and try someone else's captcha.
Leta
shutterbug_brit
2009-12-09 13:10:50
nhnz:

this comment near the middle of this string solved the problem for me
as well. I think that's why they didn't help, because the question was
answered.

bernabauer
2007-06-24 15:13:41
Hi there again! Thanks for the tip! I use Dreamhost and they
disabled
the file_get_contents command.

I changed this:

$protectwebformresult =
@file_get_contents(
"http://www.protectwebform.com/verify01?vui={$protectwebform_id}&vp={$protectwebform_passphrase}&ri="
.
urlencode($_SERVER['REMOTE_ADDR']) . "&vs=" .
urlencode($_POST['protectwebformcode']));


to this:

$ch = curl_init();
$timeout = 5; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL,
"http://www.protectwebform.com/verify01?vui={$protectwebform_id}&vp={$protectwebform_passphrase}&ri=".
urlencode($_SERVER['REMOTE_ADDR']) . "&vs=" .
urlencode($_POST['protectwebformcode']));
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
$protectwebformresult = $file_contents;

and now works like a charm! Thanks for the help!
Haru
2010-02-10 10:16:41
I have the same problem with this one:

<a href="http://www.protectwebform.com/" title="Captcha service -
protectwebform.com!"><img
src="http://www.protectwebform.com/images/ssl_lock.gif"
border="0"></a> Entrer le code de l'image:<br /><input type="text"
style="vertical-align:top;" name="protectwebformcode" value=""> <img
src="http://protectwebform.com/image/32405/">


Before It worked but now, nobody can leave comment :s please help me
thanks






Post Reply:

You must be logged in to reply.
Post message
Name: 
Email: 
Url: 




Registered users: 88084

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