--- Anguz <[EMAIL PROTECTED]> wrote:
> Wouldn't this work?
>
> if(isset($_GET['var']) && !empty($_GET['var'])){
> // do something...
> }
No, he mentioned that he considers 0 to be acceptable, and this will fail
the empty() test.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php