|
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]
|