You are here: Re: Contact Form Spam « PHP Programming Language « IT news, forums, messages
Re: Contact Form Spam

Posted by Shelly on 01/24/08 12:47

On Jan 24, 5:06 am, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> Shelly wrote:
> > $_POST['securityHidden']
>
> This is your problem.
>

Why is this the problem? Here is the code:

<td width="32%">
<font face="Verdana" size="2" color="#333333"><?php echo
$securityCodeDisplay; ?>:</font>
<input type="hidden" value="<?php echo $securityCode; ?
>"name="securityHidden"></td>
<td width="57%"><font color="#333333" face="Verdana">
<input type="text" name="securityCode" size="20"</font></td>

I display a space separated version of the $securityCode
($securityCodeDisplay) and store the code in a hidden field,
securityHidden, on the form so that when it posts back, I can compare
it with the value that they type in text field, securityCode.

If this is the problem, why is the problem and how do I change it?

Shelly

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация