Tell me, please, how to process files uploaded through one input:
<input type='file' name='filedata' multiple>
Google talks only about the processing of files uploaded by several inputs:
<input type='file' name='filedata1'> <input type='file' name='filedata2'> <input type='file' name='filedata3'>
UPD: the problem is that $ _FILES contains only the first file. print_r ($ _ FILES):
Array ( [filedata] => Array ( [name] => sdfsdf.jpg [type] => image/jpeg [tmp_name] => Z:\tmp\php3943.tmp [error] => 0 [size] => 31815 ) )