Captcha

apps

#1

Hi my contact form is getting slammed with SPAM
I hate spam and would love to add a captcha form to my site.

I have no idea where to begin or how to add php although I have a good understanding of html and the basics of css.

any and all help/advice and how to get started would be great!

http://www.rebeccagrantham.com
Drunk on Nature -original paintings


#2

[quote]Hi my contact form is getting slammed with SPAM
I hate spam and would love to add a captcha form to my site.

I have no idea where to begin or how to add php although I have a good understanding of html and the basics of css.

any and all help/advice and how to get started would be great![/quote]
Well if you are not the type to pick up a computer programming language quickly then you’ll either need to install a script already written or ask someone to write it for you.

I see that you are using the DreamHost Formmail script. You can either install an entirely new solution or just a front-end.

By front-end I mean a script that displays your form page and handles the browser submission. This script will verify the captcha.

If the front-end script verifies the captcha, it can in turn submit the form to the DreamHost Formmail script.

I am currently working on the front-end solution in Perl. So far so good - I found out Authen::Captcha is already installed on my server at least.

:cool: openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7


#3

If you don’t mind spending $40 this works great with DH and has what you are looking for

(i am not connected with coffeecup)


http://theMezz.com


#4

I’ve got a Perl script running at http://openvein.org/dreamhost/perl/captcha/project.pl that provides a CAPTCHA for DreamHost formmail. Still testing it out.

:cool: openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7


#5

Your script is looking good so far! I just sent you a “test” response, and it seemed to work perfectly. :slight_smile:

–rlparker


#6

I’m going nooo…
I am already screaming about the amount of junk mail I am getting from my contact form.

I have to do something,

if someone could give me a step by step in dream host I know I could follow the instructions.

coffeecup looks interesting and may use it in the future.

your captcha looks good.

http://www.rebeccagrantham.com
Drunk on Nature -original paintings


#7

It’s running good on Captcha. But fail to validates the email input which I randomly typed.

Supernova

Need promo code? Use [color=#00CC00]Supernova[/color] (you get $97 off on yearly plans): SIGN UP NOW !


#8

The list of fields that will be included in the message, the sublist of fields that are required, and the recipient address are configured in the script.

The script just checks the CAPTCHA and required fields and submits a request to the DreamHost script with the above data. It doesn’t attempt to validate the email address because I have not determined how the DreamHost script validates it yet.

And it’s not something that can be dropped in at the moment because none of the other fields the DreamHost script parses are passed along.

Also obviously if you use env_report it will show the User-Agent string provided by the CAPTCHA script and the IP address of the machine it was run on.

Anyways. Can you think of anything else that needs to be done?

  1. Pass along the other fields to the DreamHost script
  2. Don’t check for blank fields (DreamHost script does it already)
  3. If the DreamHost script outputs XHTML, use that for our output
  4. If the DreamHost script issues a redirect, issue the same redirect
  5. Allow parameters to be configured in script source as well as form field

…and then to port it to PHP. Will probably use reCAPTCHA then.

:cool: openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7