diff --git a/features/file-upload.xml b/features/file-upload.xml index 354cc3c1e3..27fa55c220 100644 --- a/features/file-upload.xml +++ b/features/file-upload.xml @@ -1,5 +1,5 @@ - + Handling file uploads @@ -65,7 +65,7 @@ Send this file: from PHP 4.0.3. From PHP 4.1.0 or later, $_FILES may be used instead of $HTTP_POST_FILES. $_FILES is - always global, so global is should not be used + always global, so global should not be used for $_FILES in function scope. @@ -126,9 +126,10 @@ Send this file: When register_globals - is turned on in php.ini. Note that the - following variable names assume the use of the file upload name - 'userfile', as used in the example script above: + is turned on in php.ini the available variables + are as follows. Note that the following variable names assume the + use of the file upload name 'userfile', as used in the example + script above: @@ -237,12 +238,12 @@ move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'], "/place/to/put/uplo - If max_execution_time is set too small, script - execution may be exceeded the value. Make sure to set - max_execution_time large enough. + If max_execution_time + is set too small, script execution may be exceeded the value. Make + sure to set max_execution_time large enough. - If post_max_size is set too small, large file + If post_max_size is set too small, large files cannot be uploaded. Make sure to set post_max_size large enough.