note 69275 added to function.isset
| From: | DerSpezialist at Hotmail dot com | Date: | Tue, 29 Aug 2006 17:09:08 +0000 |
| Subject: | note 69275 added to function.isset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116479@lists.php.net to get a copy of this message | ||
Note that isset() doesnt recognize $_FILES - Arrays.. additionally, i think it doesnt recognize
Arrays in general at all (untested, but logical)!
Checking $_FILES will always result in Boolean FALSE i think, at least it caused my Script to
calculate false Positives / Negatives... Solution: Use empty() or !empty() :-)
----
Server IP: 217.160.72.57
Probable Submitter: 213.54.28.13
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.isset.php
Edit -- https://master.php.net/note/edit/69275
Del: integrated -- https://master.php.net/note/delete/69275/integrated
Del: useless -- https://master.php.net/note/delete/69275/useless
Del: bad code -- https://master.php.net/note/delete/69275/bad+code
Del: spam -- https://master.php.net/note/delete/69275/spam
Del: non-english -- https://master.php.net/note/delete/69275/non-english
Del: in docs -- https://master.php.net/note/delete/69275/in+docs
Del: other reasons-- https://master.php.net/note/delete/69275
Reject -- https://master.php.net/note/reject/69275
Search -- https://master.php.net/manage/user-notes.php