yohgaki Wed Apr 3 03:30:56 2002 EDT Modified files: /phpdoc/en/chapters config.xml /phpdoc/en/features file-upload.xml Log: Added description for post_max_size. Index: phpdoc/en/chapters/config.xml diff -u phpdoc/en/chapters/config.xml:1.46 phpdoc/en/chapters/config.xml:1.47 --- phpdoc/en/chapters/config.xml:1.46 Mon Apr 1 16:06:11 2002 +++ phpdoc/en/chapters/config.xml Wed Apr 3 03:30:55 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.46 $ --> +<!-- $Revision: 1.47 $ --> <chapter id="configuration"> <title>Configuration</title> @@ -631,6 +631,28 @@ See also <link linkend="commandline">command line</link>. Also, this directive became available in PHP 4.0.0 and was always "on" before that. + </simpara> + </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> Index: phpdoc/en/features/file-upload.xml diff -u phpdoc/en/features/file-upload.xml:1.36 phpdoc/en/features/file-upload.xml:1.37 --- phpdoc/en/features/file-upload.xml:1.36 Thu Mar 28 12:16:37 2002 +++ phpdoc/en/features/file-upload.xml Wed Apr 3 03:30:56 2002 @@ -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 @@ 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>