• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 644
  • Last Modified:

Debugging recaptcha html form with python cgi

I have an html form with a recaptcha image that posts to a python cgi script. The form elements are captured (they print to the form) with the exception of the recaptcha challenge/response, which always appear empty on submit.

The form was working only a short time ago and I've made no changes to apache2 or to my LAN or firewall since then. I understand that I can insert an error parameter into the challenge/response api, but I can't find an example in google docs.

Let me know how to fix this thanks
reg-cgi.txt
reg-html.txt
0
sara_bellum
Asked:
sara_bellum
  • 3
1 Solution
 
sara_bellumAuthor Commented:
Just to make sure that you have all the info you may need, I also attach the config file that is imported into the above python cgi script. It's straightforward - the primary purpose is to illustrate how I've complied with google's guidance in using my reCaptcha account.
config-py.txt
0
 
sara_bellumAuthor Commented:
Fixed. The form action must precede the table definition on the html page that is imported (the same rule applies for other languages such as php).
0
 
sara_bellumAuthor Commented:
Of course I'd rate my own solution as excellent! This took a while but it works.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now