<bdo id='XFnXT'></bdo><ul id='XFnXT'></ul>
<legend id='XFnXT'><style id='XFnXT'><dir id='XFnXT'><q id='XFnXT'></q></dir></style></legend>

      1. <tfoot id='XFnXT'></tfoot>

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

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

      2. PHP - 最大总上传大小?

        PHP - Maximum Total Upload Size?(PHP - 最大总上传大小?)
        <legend id='fPfDd'><style id='fPfDd'><dir id='fPfDd'><q id='fPfDd'></q></dir></style></legend>
          <tbody id='fPfDd'></tbody>
          <tfoot id='fPfDd'></tfoot>

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

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

                • 本文介绍了PHP - 最大总上传大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个包含 15 个字段的 php 网页.用户将使用它来上传图像.我通过上传 15 张 jpg 图像进行了测试,每张大约 2 M,没有任何问题.在我发布的那天,我将把这个网页移动到另一个 Linux 共享主机环境(仍然不确定是哪个).是否有一些网络托管环境会限制一个 http 请求中的总上传大小?

                  I have a php web page with 15 fields. The user will use it to upload images. I tested this by uploading 15 jpg images, each about 2 M, without any problems. On the day I launch, I will be moving this web page to another Linux shared hosting environment (still not sure which). Are there some web hosting environments that limit the size of total uploads in one http request?

                  推荐答案

                  是的.有(据我所知)三个左右会影响上传大小限制的配置设置:

                  Yes. There are (as far as I can remember) three or so configuration settings which will affect upload size restrictions:

                  • upload_max_filesize,设置上传文件大小的上限
                  • post_max_size,限制发布数据的总大小,包括文件数据
                  • max_input_time,它限制允许脚本处理输入数据(包括发布的值)的时间长度

                  upload_max_filesize 是对每个单独文件的限制;但是,post_max_size 是整个请求的上限,包括所有上传的文件.

                  upload_max_filesize is a limit on each individual file; however, post_max_size is an upper limit on the entire request, which includes all the uploaded files.

                  不同的托管环境会以不同的方式设置这些值,这可能会影响您在部署时的能力.

                  Different hosting environments will have these values set differently, which may affect your abilities upon deployment.

                  这篇关于PHP - 最大总上传大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                • <legend id='caCVq'><style id='caCVq'><dir id='caCVq'><q id='caCVq'></q></dir></style></legend>

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

                    <tbody id='caCVq'></tbody>

                    <bdo id='caCVq'></bdo><ul id='caCVq'></ul>

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