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.