by Var_dump ($_file)
If you use file[]
Reply content:
by Var_dump ($_file)
If you use file[]
First, you pass an array parameter, and the parameter name must be preceded by [] a normal parse, all of which you have to use upload_file[] as the parameter name.
Second, the array form of file upload, in PHP parsing is not parsed into a file array (this is called the existence of a bug), but will be parsed into the results you see, in the parameter name has become an array, NAME0] represents the first file name Name[1] Indicates the name of the second file ..., and the type, tmp_name, and other parameters are the same, that is, you want to get the information to upload the first file, you get the $_files[' upload_file ' 0], $_files[' upload_file ' [ 0] ...
Helpless PHP parsing file array is like this, this is often spit slot
Name= "upload_file[]"