Home  >  Article  >  Backend Development  >  uploadify 上传有关问题

uploadify 上传有关问题

WBOY
WBOYOriginal
2016-06-13 12:04:35938browse

uploadify 上传问题
以前使用uploadify上传文件都没有错误,最近做一个程序,使用uploadify上传log日志文件,大部分都能上传成功,包括formData的参数都能成功,但是有极个别的log文件上传的时候上传不成功。
在服务器端打印 $_POST 和 $_FILES,都为空。
日志文件名称都是统一格式的,日志也都是 utf-8编码,但是有些可以成功,有些不能成功,有哪位大神碰到过,请指点一下,谢谢!
------解决方案--------------------
在服务器端打印 $_POST 和 $_FILES,都为空
是空白,还是空数组?
如果是空数组,则表示上传没有实际进行进行
如果是空白,则表示上传的文件大小超过了 post_max_size 的限定
------解决方案--------------------

引用:
在服务器端打印 $_POST 和 $_FILES,都为空
是空白,还是空数组?
如果是空数组,则表示上传没有实际进行进行
如果是空白,则表示上传的文件大小超过了 post_max_size 的限定


还需要分别检查各个转发机的max_post_size 踩过这个坑
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