mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added description for post_max_size.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@76370 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
548d8a1563
commit
890d1f951e
2 changed files with 26 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.46 $ -->
|
||||
<!-- $Revision: 1.47 $ -->
|
||||
<chapter id="configuration">
|
||||
<title>Configuration</title>
|
||||
|
||||
|
@ -635,6 +635,28 @@ include_path=".;c:\www\phplib"
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ini.post_max_size">
|
||||
<term>
|
||||
<parameter>post_max_size</parameter>
|
||||
<type>integer</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Sets max size of post data allowed. This setting also affects
|
||||
file upload. To upload large files, this value must be larger
|
||||
than <link linkend="upload-max-filesize">upload_max_filesize</link>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
If memory limit is enabled by configure script, <link
|
||||
linkend="ini.memory-limit">memory_limit</link> also affects
|
||||
file uploading. Generally speaking, <link
|
||||
linkend="ini.memory-limit">memory_limit</link> should be
|
||||
larger than <link
|
||||
linkend="ini.post-max-size">post_max_size</link>.
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="ini.register-globals">
|
||||
<term>
|
||||
<parameter>register_globals</parameter>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.36 $ -->
|
||||
<!-- $Revision: 1.37 $ -->
|
||||
<chapter id="features.file-upload">
|
||||
<title>Handling file uploads</title>
|
||||
|
||||
|
@ -243,8 +243,8 @@ move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'], "/place/to/put/uplo
|
|||
sure to set <literal>max_execution_time</literal> large enough.
|
||||
</simpara>
|
||||
<simpara>
|
||||
If <literal>post_max_size</literal> is set too small, large files
|
||||
cannot be uploaded. Make sure to set
|
||||
If <link linkend="ini.post-max-size">post_max_size</link> set too
|
||||
small, large files cannot be uploaded. Make sure to set
|
||||
<literal>post_max_size</literal> large enough.
|
||||
</simpara>
|
||||
<simpara>
|
||||
|
|
Loading…
Reference in a new issue