How do I Drupal 6 and/Captcha Expertise

Posted on 2013-12-27
Last Modified: 2014-01-31
I have, what I thought was a tiny task. I need to set up Captcha configuration for a drupal 6 site. One of our departments won't switch to Drupal7 [for now anyway] and they won't get rid of a html form that they had built in a content type using php, but they want the spam issue resolved.

I need to add captcha, send it through for validation and then send the field values on to some outside company they use via a url in the action. I have a demo site set up that mimics the departments setup here:

Open in new window

uname/pswd admin/admin. just click on the cGroup link in the nav.

In the edit view of the content type the "post", they are actually posting to an outside company's url and sending the form values to that company.

So where I am stuck, on submit of the form, the processing is sending the data elsewhere, so I need the captcha validation completed and then the normal processing of the form to take place.  How do I do this?

This is obviously a very easy set up, but since this is encapsulated within Drupal6, I can't get it work.
Question by:quikwallace
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
LVL 110

Expert Comment

by:Ray Paseur
ID: 39742139
I am not a Drupal expert by any means but I can at least show you the theory and practice of CAPTCHA, from simplest to more complex.

Author Comment

ID: 39742365
Hi Ray - I have the basics and the complex parts of captcha worked out-when it's a straight php app.  if you look the link, you can see I have it[captcha] set up, but the problem lies within the confines of Drupal I am guessing.  I can't get this form to validate and submit values to the url as needed because the form is built within a drupal content type and something is not playing well together.
LVL 110

Expert Comment

by:Ray Paseur
ID: 39742512
Yeah, I looked at it.  It did not seem to matter what I put into the CAPTCHA response - it just redirected back to the Welcome page.  Let's leave the question open and maybe a Drupal expert will come along with a better perspective.
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users


Author Comment

ID: 39742543
I know - it is so weird.  With whatever I try - it seems I can only do one thing or the other - either only validate or only send the values, not both.  Thanks for looking.  I appreciate it.  Hopefully someone will have some ideas.  I have run out of things to try.
LVL 17

Expert Comment

ID: 39743820
You could use Mollom, which was created by the company started by Dries Buytaert (he created Drupal in the first place). It is free for up to 50 uses per day, otherwise you have to pay for it.
It is SIMPLE to install, which was excellent after I tried and failed to install several different captcha modules. Mollom rejects the spam submissions silently so you never see them. It works REALLY well. I was using it on a site for an author who has been on the NYT best sellers list for over a year. We had to stop using though because he started to get way more than 50 hits per day and my client wasn't willing to pay for it. It's not that expensive.
Here is the home page for it:
It's a brilliant product!

Author Comment

ID: 39744772
I think I have heard of Mollom, but like your client, my client gets move than 50 hits per day and wouldn't want to pay for this option.

Accepted Solution

quikwallace earned 0 total points
ID: 39810080
Found a kind of klunky solution, but a solution  non the less.  For those who find this post - and using drupal 7+ use webforms, install both captcha and recaptcha, configure both.

Author Closing Comment

ID: 39823526
no other solution provided

Featured Post

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question