From 890d1f951ecde2035dc8c165bcc41e6e55f521d0 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Wed, 3 Apr 2002 08:30:56 +0000 Subject: [PATCH] Added description for post_max_size. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@76370 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/config.xml | 24 +++++++++++++++++++++++- features/file-upload.xml | 6 +++--- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/chapters/config.xml b/chapters/config.xml index c9e3564005..a5a3e87bf5 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Configuration @@ -635,6 +635,28 @@ include_path=".;c:\www\phplib" + + + post_max_size + integer + + + + Sets max size of post data allowed. This setting also affects + file upload. To upload large files, this value must be larger + than upload_max_filesize. + + + If memory limit is enabled by configure script, memory_limit also affects + file uploading. Generally speaking, memory_limit should be + larger than post_max_size. + + + + register_globals diff --git a/features/file-upload.xml b/features/file-upload.xml index 8257093396..062349e50b 100644 --- a/features/file-upload.xml +++ b/features/file-upload.xml @@ -1,5 +1,5 @@ - + Handling file uploads @@ -243,8 +243,8 @@ move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'], "/place/to/put/uplo sure to set max_execution_time large enough. - If post_max_size is set too small, large files - cannot be uploaded. Make sure to set + If post_max_size set too + small, large files cannot be uploaded. Make sure to set post_max_size large enough.