Podczas dodawania w shoutboxie, wiadomości, trzeba odpowiedź na pytanie antyspamowe, niestety , mogę wpisywać co chcę, a i tak wiadomość trafi do shoutboza oto urywka kodu zawierająca pytanie i sprawdzanie odpowiedzi
<td width="70%"><form name="shoutbox" method="post" action="shoutbox.php"> <table width="100%" border="0" cellspacing="1" cellpadding="1" align="center"> <tr> <td width="30%" class="uni_01" align="right" valign="top"><b>imię</b></td> <td width="70%" class="uni_01">'; if(is_user_login()=='yes') echo '<b>'.$info[1].'<input type="hidden" name="imie" value="'.$info[1].'">'; else echo '<input type="text" name="imie" value="'.$imie.'" size="35">'; echo '<br> Wpisz w pole: <i>menelodramat</i>: <input type=\"text\" name=\"oblicz\"><br>'; echo '</td> </tr> <tr> <td width="30%" class="uni_01" align="right" valign="top"><b>treść</b></td> <td width="70%" class="uni_01"> <textarea name="tresc" cols="50" rows="10"></textarea> </td> </tr> <tr> <td width="30%" class="uni_01" align="right"> </td> <td width="70%" class="uni_01"> <input type="hidden" name="ip" value="'.$REMOTE_ADDR.'"> <input style="font-weight: bold;" type="submit" name="ok" value="dodaj"> </td> </tr> </table> </form></td> </tr> </table>'; if ($imie=='ok') { if($tresc=='ok') { if($_POST['oblicz']!='menelodramat'){echo "Botów nie obsługujemy.";}