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
Solved

Debugging recaptcha html form with python cgi

Posted on 2013-02-06
3
606 Views
Last Modified: 2013-12-25
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
Comment
Question by:sara_bellum
  • 3
3 Comments
 

Author Comment

by:sara_bellum
ID: 38862873
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
 

Accepted Solution

by:
sara_bellum earned 0 total points
ID: 38964339
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
 

Author Closing Comment

by:sara_bellum
ID: 38964344
Of course I'd rate my own solution as excellent! This took a while but it works.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how can i make 2 columns? 4 37
AWK: digits < 10 add a zero how? 11 26
Start Auto-download of File when page loads? 1 20
Visual Studio npm 1 11
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

840 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