note 28229 rejected from features.file-upload.common-pitfalls by nicos
| From: | nicos@php.net | Date: | Mon, 06 Jan 2003 19:02:38 +0000 |
| Subject: | note 28229 rejected from features.file-upload.common-pitfalls by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41750@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?