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

关于CSV文件上传问题

WBOY
Release: 2016-06-23 13:41:45
Original
932 people have browsed it

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

print_r($_FILES);

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

但出来的结果是 array();

前台:

是哪里写错了吗?


回复讨论(解决方案)

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template