meissenation
03-05-2010, 12:46 PM
Hey guys,
I figured it's worth a shot to post it here since there's a lot of bright developers and ReCaptcha has already been an add-on for vBulletin itself.
I have a form that I'm using for car show registrations. Unfortunately, a couple spammers have found it and they're spamming about once or twice a day. It's not that bad and I can go in and delete the entries manually, but it's still a hassle.
I looked at the ReCaptcha wiki to install it and I have it appearing on the form but I don't understand how to get the form to do what it's doing now if I use reCaptcha.
My current form action is such:
<form action="processregistrations.php" method="post">
Yet the reCaptcha wiki shows action being "" and then having something done:
if ($resp->is_valid) {
echo "You got it!";
# in a real application, you should send an email, create an account, etc
}
How would I tell the form to go to processregistrations.php on submission yet still including all the $_POST variables that are being passed through the form?
--------------- Added 1267803660 at 1267803660 ---------------
Figured it out - I followed the link below and it made more sense than the reCaptcha wiki.
http://www.dreamincode.net/forums/index.php?showtopic=138978
I figured it's worth a shot to post it here since there's a lot of bright developers and ReCaptcha has already been an add-on for vBulletin itself.
I have a form that I'm using for car show registrations. Unfortunately, a couple spammers have found it and they're spamming about once or twice a day. It's not that bad and I can go in and delete the entries manually, but it's still a hassle.
I looked at the ReCaptcha wiki to install it and I have it appearing on the form but I don't understand how to get the form to do what it's doing now if I use reCaptcha.
My current form action is such:
<form action="processregistrations.php" method="post">
Yet the reCaptcha wiki shows action being "" and then having something done:
if ($resp->is_valid) {
echo "You got it!";
# in a real application, you should send an email, create an account, etc
}
How would I tell the form to go to processregistrations.php on submission yet still including all the $_POST variables that are being passed through the form?
--------------- Added 1267803660 at 1267803660 ---------------
Figured it out - I followed the link below and it made more sense than the reCaptcha wiki.
http://www.dreamincode.net/forums/index.php?showtopic=138978