Home > Backend Development > PHP Tutorial > ajaxFileUpload.js上传文件怪异有关问题求解,

ajaxFileUpload.js上传文件怪异有关问题求解,

WBOY
Release: 2016-06-13 13:45:51
Original
1051 people have browsed it

ajaxFileUpload.js上传文件怪异问题求解,急急急
为什么用ajaxFileUpload.js上传表单文件时,文件比较小是能从后台的$_FILES中读取,一切正常。而文件过大时,大于10M,后台$_FILES则为空,但是可以通过file_get_contents('php://input');获取到前台发送到所有数据,但是前台的ajaxFileUpload已经则返回ERROR。求解。哪位高手大侠帮忙解决下啊,先谢谢了。。。

------解决方案--------------------
既然是上传的问题,首先检查一下php.ini中的相关设置:post_max_size、upload_max_filesize

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