I have a working file upload except it doesn't seem two work on one file. I've tested it with several others and it works just fine but this one file gives me no "Type".
The only thing I did to this file is using IrfanView editor is rotated the image like printing landscape to letter kinda thing.
However, I can upload the original image with no problem, so I viewed the image properties and it states the same information in both files. I don't think it's a problem with php but could be a issue with my understanding with how $FILES global works😕
ECHO "Type = ". $_FILES['file']['type']."<br>";
ECHO "name = ".$_FILES['file']['name']."<br>";
print_r($_FILES)."<br>";
Type =
name = P6030107.jpg
Array ( [file] => Array ( [name] => P6030107.jpg [type] => [tmp_name] => [error] => 1 [size] => 0 ) )