• <i id='oSnpB'><tr id='oSnpB'><dt id='oSnpB'><q id='oSnpB'><span id='oSnpB'><b id='oSnpB'><form id='oSnpB'><ins id='oSnpB'></ins><ul id='oSnpB'></ul><sub id='oSnpB'></sub></form><legend id='oSnpB'></legend><bdo id='oSnpB'><pre id='oSnpB'><center id='oSnpB'></center></pre></bdo></b><th id='oSnpB'></th></span></q></dt></tr></i><div id='oSnpB'><tfoot id='oSnpB'></tfoot><dl id='oSnpB'><fieldset id='oSnpB'></fieldset></dl></div>
  • <small id='oSnpB'></small><noframes id='oSnpB'>

    <tfoot id='oSnpB'></tfoot>
      <bdo id='oSnpB'></bdo><ul id='oSnpB'></ul>

      1. <legend id='oSnpB'><style id='oSnpB'><dir id='oSnpB'><q id='oSnpB'></q></dir></style></legend>

      2. 文件上传可以在 PHP 中超时吗?

        Can file uploads time out in PHP?(文件上传可以在 PHP 中超时吗?)

          • <bdo id='JHzAO'></bdo><ul id='JHzAO'></ul>

            <legend id='JHzAO'><style id='JHzAO'><dir id='JHzAO'><q id='JHzAO'></q></dir></style></legend>
              <tbody id='JHzAO'></tbody>

            <small id='JHzAO'></small><noframes id='JHzAO'>

              <i id='JHzAO'><tr id='JHzAO'><dt id='JHzAO'><q id='JHzAO'><span id='JHzAO'><b id='JHzAO'><form id='JHzAO'><ins id='JHzAO'></ins><ul id='JHzAO'></ul><sub id='JHzAO'></sub></form><legend id='JHzAO'></legend><bdo id='JHzAO'><pre id='JHzAO'><center id='JHzAO'></center></pre></bdo></b><th id='JHzAO'></th></span></q></dt></tr></i><div id='JHzAO'><tfoot id='JHzAO'></tfoot><dl id='JHzAO'><fieldset id='JHzAO'></fieldset></dl></div>
              <tfoot id='JHzAO'></tfoot>

                1. 本文介绍了文件上传可以在 PHP 中超时吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我对 PHP 很陌生,我创建了一个表单,用于将非常大的 csv 文件上传到我的服务器.有人向我提到,由于上传文件太大,浏览器会超时,这是真的吗?如果可以,是否可以预防?

                  Hi im quite new to PHP, i have created a form for very large csv files to be uploaded to my server. Some one mentioned to me that the browser can time out due to the uploading file being to big, is this true? and if so, can it be prevented?

                  感谢您的帮助!

                  推荐答案

                  您需要为以下 php.ini 设置适当的值:

                  You need a proper value for the following php.ini settings:

                  1. max_input_time (不是 max_execution_time!)
                  2. upload_max_filesize
                  3. post_max_size
                  1. max_input_time (not max_execution_time!)
                  2. upload_max_filesize
                  3. post_max_size

                  也许

                  1. memory_limit

                  这篇关于文件上传可以在 PHP 中超时吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  PHP Upload File Validation(PHP 上传文件验证)
                  PHP Error - Uploading a file(PHP 错误 - 上传文件)
                  How can I write tests for file upload in PHP?(如何在 PHP 中编写文件上传测试?)
                  php resizing image on upload rotates the image when i don#39;t want it to(php在上传时调整图像大小会在我不想要它时旋转图像)
                  How to send additional data using PLupload?(如何使用 PLupload 发送附加数据?)
                  change button text in js/ajax after mp4 =gt;mp3 conversion in php(在 php 中的 mp4 =gt;mp3 转换后更改 js/ajax 中的按钮文本)

                  <tfoot id='Trg3p'></tfoot>

                      <legend id='Trg3p'><style id='Trg3p'><dir id='Trg3p'><q id='Trg3p'></q></dir></style></legend>

                      • <bdo id='Trg3p'></bdo><ul id='Trg3p'></ul>
                      • <small id='Trg3p'></small><noframes id='Trg3p'>

                        <i id='Trg3p'><tr id='Trg3p'><dt id='Trg3p'><q id='Trg3p'><span id='Trg3p'><b id='Trg3p'><form id='Trg3p'><ins id='Trg3p'></ins><ul id='Trg3p'></ul><sub id='Trg3p'></sub></form><legend id='Trg3p'></legend><bdo id='Trg3p'><pre id='Trg3p'><center id='Trg3p'></center></pre></bdo></b><th id='Trg3p'></th></span></q></dt></tr></i><div id='Trg3p'><tfoot id='Trg3p'></tfoot><dl id='Trg3p'><fieldset id='Trg3p'></fieldset></dl></div>
                          <tbody id='Trg3p'></tbody>