You are here: Re: if statement « PHP Programming Language « IT news, forums, messages
Re: if statement

Posted by Phil Latio on 11/07/06 17:32

> If this is form validation, then isset won't do any good. The form field
> will be set, but it still may be empty. Better test that strlen() is
> greater than zero, or use empty(). And Of course, there's always the
> $username vs. $_POST['username'] issue. Seems like someone is using
> register_globals, for shame...

Not using register_globals but wish I had noticed your post earlier
regarding the form validation issue. I assumed isset meant that it checked
to see if it is actually set to something (had a value), not that it merely
existed. Oh well.. it's all good learning.

Cheers

Phil

 

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

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