note 28229 added to features.file-upload.common-pitfalls
| From: | ner0tic at maine dot rr dot com | Date: | Mon, 06 Jan 2003 17:50:03 +0000 |
| Subject: | note 28229 added to features.file-upload.common-pitfalls | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41747@lists.php.net to get a copy of this message | ||
ok here's the syntax:
if ($_FILES['userfile']['size']==0) {
echo "Problem: uploaded file is zero length<br>";
echo $_FILES['userfile']['size'];
exit;
}
no matter what file i upload it sys the size is zero.. anyone know why?
--
http://www.php.net/manual/en/features.file-upload.common-pitfalls.php
http://master.php.net/manage/user-notes.php?action=edit+28229
http://master.php.net/manage/user-notes.php?action=delete+28229
http://master.php.net/manage/user-notes.php?action=reject+28229