I have an input of type file with property multiple. With this property I can select multiple files. How can I adress these files after submit with PHP?
Using this script and selcting multiple files, the output only contains 1 file:
<?php
print_r($_FILES);
?>
<form method="post" enctype="multipart/form-data">
<input type="file" name='file' multiple >
<input type="submit">
</form>
Here is the output:
Array (
[file] => Array (
[name] => firefox.exe
[type] => application/octet-stream
[tmp_name] => /is/htdocs/user_tmp/wp10991132_7P7886URU4/phpO5UJ59
[error] => 0
[size] => 392136
)
)
Where are the other files?