CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Integrating Google invisible recaptcha into formmail.pl

 



cromeyellow
New User


Jul 15, 2017, 1:28 PM

Post #1 of 4 (2239 views)
Integrating Google invisible recaptcha into formmail.pl Can't Post

I use formmail.pl (Matt's perl formmail) on all my websites for the Contact Us form. On one of them, the landing page for my domain sales, I am getting a lot of SPAM form submissions.

Has anyone integrated invisible recaptcha into formmail? Or what is the best submission form, free script software to use these days, and then integrate invisible recaptcha into?

Here is the contact us form I have up
xynames.com/contact.html
I assume I must modify both the html for the submission form and the formmail perl script.

I would like to integrate the recaptcha into my existing SEND NOW button.

There is literature on the web about integrating regular recaptcha into formmail, but not invisible recaptcha. And even that literature at Google:
https://developers.google.com/recaptcha/old/docs/formmail
doesn't seem to work I went through it carefully and it made my formmail no longer work, got a server error.

---

I have experimented with both this Matt's perl formmail and a PHP version, and for some reason the perl formmail has less of a tendency to send legitimate messages that end up in my spam inbox, so I stuck with the perl version.


FishMonger
Veteran / Moderator

Jul 15, 2017, 3:01 PM

Post #2 of 4 (2236 views)
Re: [cromeyellow] Integrating Google invisible recaptcha into formmail.pl [In reply to] Can't Post

Don't use Matt's script. It's very poorly written and very insecure. Even Matt doesn't recommend using it.

Use the NMS FormMail script. It's a drop-in replacement and even Matt recommends using it instead of his script.
http://nms-cgi.sourceforge.net/scripts.shtml

It's been years since I've look at the code, but it might already support using capatchas.


cromeyellow
New User


Jul 15, 2017, 3:07 PM

Post #3 of 4 (2235 views)
Re: [FishMonger] Integrating Google invisible recaptcha into formmail.pl [In reply to] Can't Post

I'll download the NMS and give it a try, thanks.

At first glance it does not have recaptcha built in, but I'll work on it.


(This post was edited by cromeyellow on Jul 15, 2017, 3:08 PM)


cromeyellow
New User


Jul 16, 2017, 9:37 AM

Post #4 of 4 (2212 views)
Re: [FishMonger] Integrating Google invisible recaptcha into formmail.pl [In reply to] Can't Post

From
http://nms-cgi.sourceforge.net/scripts.shtml
Do you recommend the
TFMail Improved Form Mail (from 09 Feb 2006 )

or the

Compat Compatibility package, recommended for most users (from 2004-08-11)

I see what you mean about how old these are, but Matt's formmail in perl; has been working for me. :-)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives