I have an image taken from an older digital camera, around 4MB in size and type "image/jpeg".
When I submit it through a form and look at var_dump($_FILES);
the array is as follows:
array(1) {
["userfile"]=> array(5) {
["name"]=> string(12) "IMGP0004.JPG"
["type"]=> string(0) ""
["tmp_name"]=> string(0) ""
["error"]=> int(1)
["size"]=> int(0)
}
}
I'm wondering if there is a reason it isn't picking up the file type and also detecting file size as 0. Other files echo out all correct information.