var_dump($_FILES)
gives the following:
array
'test1' =>
array
'name' =>
array
'f' => string 'ntuser.dat.LOG' (length=14)
'type' =>
array
'f' => string 'application/octet-stream' (length=24)
'tmp_name' =>
array
'f' => string 'D:\wamp\tmp\php223.tmp' (length=22)
'error' =>
array
'f' => int 0
'size' =>
array
'f' => int 0
Why is http designed this way?How can I process the array efficiently(sometimes means no looping?) so I can get the file by $_FILES['test1']['f']
?