如何将 SWF 中的文件上传超时设置为大于 3 分钟?

发布于 2024-07-08 06:59:28 字数 138 浏览 6 评论 0原文

我正在使用 SWFUpload 处理文件上传,但遇到了任何文件上传 >= 3 分钟都会超时的问题。 据我所知,Apache 和 PHP 已正确配置以处理大文件。 Flash 是否有任何设置可能会影响此问题? Flash 是否有某种我可以更改的超时值?

I'm using SWFUpload to handle file uploads and have run into a problem where any file upload >= 3 min will time out. As far as I can tell, Apache and PHP are configured properly to handle large files. Are there any settings with Flash that might affect this? Does Flash have some sort of timeout value I could change?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜中书 2024-07-15 06:59:28

如果 PHP 脚本超时,则可以通过调用 set_time_limit(int secondary) 来调整 php time_limit。 如果将其设置为 -1,则脚本将无限期执行(如果这是您想要/需要的)。

如果 Flash 超时,您可能需要查看以下内容:

http://www.aflax.org/forums/topic。 php?id=38

< a href="http://www.kirupa.com/forum/archive/index.php/t-262299.html" rel="nofollow noreferrer">http://www.kirupa.com/forum/archive/index .php/t-262299.html

If the PHP script is timing out, then you can adjust the php time_limit by calling set_time_limit(int seconds). If you set it equal to -1 then the script will execute indefinitely, if that's what you want / need.

If the Flash is timing out, you might want to take a look at the following:

http://www.aflax.org/forums/topic.php?id=38

http://www.kirupa.com/forum/archive/index.php/t-262299.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文