Reply to Re: Simple quest but difficult enough

Your name:

Reply:


Posted by Ben Holness on 05/20/06 15:44

On Sat, 20 May 2006 11:47:32 +0200, John Olav wrote:

> Ok, I'm a real newbie. Just wonder how to validate one specific input field
> in a form processing script against a written variable in a form processing
> script. Just as a security measure against spam. Any idea with code?

in the form processing part;

$variable="Valid value";
if ($_REQUEST['fieldname']!=$variable)
{
// the value of fieldname does not match variable.
// Handle error here
}
else
{
// Continue processing form
}

[Back to original 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

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