note 71606 rejected from features.file-upload by nlopess
| From: | nlopess@php.net | Date: | Thu, 07 Dec 2006 18:16:14 +0000 |
| Subject: | note 71606 rejected from features.file-upload by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120403@lists.php.net to get a copy of this message | ||
Note Submitter: kazisdaman2 at hotmail dot com
----
Whwnever I use printr($_FILES);
For jpgs
I get:
Array ( [imgfile] => Array ( [name] => test3.jpg [type] => [tmp_name] => [error] => 2
[size] => 0 ) )
But when I upload a jpeg, I get
Array ( [imgfile] => Array ( [name] => wesleymahler2.png.jpeg [type] => image/jpeg
[tmp_name] => /tmp/phplFnuZw [error] => 0 [size] => 2734 ) ) requested
-------------------
Like I do not get any data when I submit anything else than a jpeg anyone have any ideas?