Home >Backend Development >PHP Tutorial >关于CSV文件上传问题

关于CSV文件上传问题

WBOY
WBOYOriginal
2016-06-23 13:41:45943browse

我想  print_r 传过来的CSV文件内容

print_r($_FILES);

应该会有type,name,error,size等信息

但出来的结果是 array();

前台:

是哪里写错了吗?


回复讨论(解决方案)

enctype="multipart/form-data"   原来是没写 这个属性  写完之后就有数据了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn