更新后的服务器不发送/接受多个文件上传?
我有两台服务器,服务器A和服务器B。服务器A上的表单通过XMLHttpRequest向服务器B提交数据。 Apache 的设置允许将数据从一台服务器发送到另一台服务器,从而避免跨源问题。
该表单上传文件,旨在能够一次发送多个文件。这对于 CentOS 5.3 的单个和多个文件上传效果很好。
使用“yum list update”和“yum update”将操作系统更新到CentOS 5.6后,多个文件上传停止工作。第一个文件将被发送到服务器 B,所有其他隐藏输入数据都不会发送,并且文件信息数组 $_FILES[] 的 count() 为零。单个文件上传工作正常,$_FILES 已成功创建,并且其他隐藏的输入数据已发送。
什么可能导致这个问题?是否有可能在升级过程中更改了某些设置? (安装后服务器重新启动。)
提前致谢! tundoopani
编辑:我不认为这是由 centos 升级引起的。该问题现在出现在 5.3 和 5.6 上。 :( 看来数据是分片发送的,导致多个请求?
I have two servers, server A and server B. A form on server A submits data to server B via XMLHttpRequest. Apache is set up to allow data to be sent from one server to the other, avoiding the cross-origin problem.
The form uploads files and is meant to be able to send multiple files at once. This worked fine with single and multiple file uploads with CentOS 5.3.
After using "yum list updates" and "yum update" to update the OS to CentOS 5.6, multiple files uploads stop working. The first file would be sent to server B, all other hidden input data was not sent, and the files information array $_FILES[] had a count() of zero. Single file uploads worked properly, $_FILES was created successfully, and other hidden input data was sent.
What could be causing this problem? Is it possible that some settings were changed during the upgrade? (The server was rebooted after the installation.)
Thanks in advance!
tundoopani
EDIT: I don't think this is caused by the centos upgrade. The problem now occurs on 5.3 and 5.6. :( It seems the data is sent in pieces causing multiple requests?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您的 PHP 版本已升级。
I think your PHP version was upgraded.