3.2.2 - 普通 - 未处理
多文件上传支持如果需要使用多个文件上传,只需要修改表单,把
<input type='file' name='photo'>
改为
<input type='file' name='photo1'>
<input type='file' name='photo2'>
<input type='file' name='photo3'>
或者
<input type='file' name='photo[]'>
<input type='file' name='photo[]'>
<input type='file' name='photo[]'>
两种方式的多附件上传系统的文件上传类都可以自动识别。
文档是这样写的,可是经测试
photo[]写法可以被识别为photo数组
可是photo1,2,3的写法就没法正常识别为photo数组,而是被识别为多个参数了
