|
Hi, I moved the anti spam question in the php file so it was between the subject and the message itself, but now every time I try to send a message I get the "wrong spam answer" message, eventhough the andwer is right. I must have acidentally removed a piece of code, any idea which part? This is the code of the table:
print '<tr><td colspan="2"><input type="submit" value="' . $buttonText . '" style="width: ' . $buttonWidth . '%"/></td></tr></table></form></div>' // print button
print '<tr><td valign="top">' . $myMessageLabel . $separator . '<textarea name="rp_message" cols="' . $messageWidth . '" rows="10">'.$CORRECT_MESSAGE.'</textarea></td></tr>' . "\n";// print message input} } print '<tr><td>' . $myAntiSpamQuestion . $separator . '<input type="text" name="rp_anti_spam_answer2" size="' . $emailWidth . '" value="'.$CORRECT_ANTISPAM_ANSWER.'"/></td></tr>' . "\n"; if ($anti_spam_position == 1) {if ($enable_anti_spam) {//print anti-spamprint '<tr><td>' . $mySubjectLabel . $separator . '<input type="text" name="rp_subject" size="' . $subjectWidth . '" value="'.$CORRECT_SUBJECT.'"/></td></tr>' . "\n";// print subject inputprint '<tr><td>' . $myEmailLabel . $separator . '<input type="text" name="rp_email" size="' . $emailWidth . '" value="'.$CORRECT_EMAIL.'"/></td></tr>' . "\n";// print email input} } print '<tr><td colspan="2">' . $myAntiSpamQuestion . '</td></tr><tr>'.$emptycell.'<td><input type="text" name="rp_anti_spam_answer" size="' . $emailWidth . '" value="'.$CORRECT_ANTISPAM_ANSWER.'"/></td></tr>' . "\n"; if ($anti_spam_position == 0) {if ($enable_anti_spam) {// print anti-spam print '<table>';
Thanks in advance for the help :)
- Roel |