if (empty($data['button'])) {
$data['button'] = $GLOBALS['strSubmit'];
}
if(USE_CAPTCHA)
$html .= '<table><tr><td><img src="solmetra/img.php?&<?php echo time(); ?>" alt="Enter these 6 characters in the box below."></td></tr><tr><td><div class="required">Entra el codi de verificacio de la imatge:</div></td><td class="attributeinput"> <input name="Verification" class="attributeinput" size="6" maxlength="6" value="" id="verification_code" type="text"><script language="Javascript" type="text/javascript">addFieldToCheck("Verification","verification_code");</script></td></tr></table>';
mt_srand((double)microtime()*1000000);
$randval = mt_rand();
if(USE_CAPTCHA){
include("solmetra/SPAF_FormValidator.class.php");
$obj = new SPAF_FormValidator();
if (isset($_POST['Verification'])) {
if ($obj->validRequest($_POST['Verification'])) {
// destroy successful code
$obj->destroy();
}
else {
exit('<p>Codi de verificacio incorrecte.</p> <p><ol><li>Please use the "back" button on your browser to return to the form, and</li><li>Fill out the form and re-submit it with the verification characters correctly entered.</li></ol>If you keep getting this error, please contact us for assistance.</p>');
}
}
}
Your forms code is: <form method=post name="subscribeform">
My forms code is: <form method="post" action="" name="subscribeform">
include_once $GLOBALS["coderoot"] ."subscribelib2.php";
Users browsing this forum: No registered users and 0 guests