The hn-captcha class displays a form; but what I want to allow, if the captcha is solved, is the server side processing of variables posted from another form. How do I do that?
Gord P - 2006-07-25 19:51:14 - In reply to message 1 from Seth Russell
I actually solved this problem.
I modified the hn_captcha.class.php file: in the function display_form, I commented out the form tag line, so display_form doesn't display an opening form tag. When the captcha form is displayed, its always displayed at a point in the HTML where there is an open form tag and the action points to the same page as originated the query. I also added an extra parameter to display_form, $extraheaders. This variable is displayed inside the 'new ID' form, and provides extra hidden fields to submit. The extra fields submitted via either method are available through $_POST or $_REQUEST.