svn: phpdoc/en/trunk/features/ file-upload.xml
| From: | Daniel P. Brown | Date: | Thu, 23 Jul 2009 04:10:58 +0000 |
| Subject: | svn: phpdoc/en/trunk/features/ file-upload.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4497@lists.php.net to get a copy of this message | ||
danbrown Thu, 23 Jul 2009 04:10:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=284632
Log:
Addresses Bug #48437 by rewording the documentation.
Bug: http://bugs.php.net/48437 (Open) Documentation
overstates MAX_FILE_SIZE hidden field
Changed paths:
U phpdoc/en/trunk/features/file-upload.xml
Modified: phpdoc/en/trunk/features/file-upload.xml
===================================================================
--- phpdoc/en/trunk/features/file-upload.xml 2009-07-23 03:56:10 UTC (rev 284631)
+++ phpdoc/en/trunk/features/file-upload.xml 2009-07-23 04:10:58 UTC (rev 284632)
@@ -64,12 +64,13 @@
<para>
The <literal>MAX_FILE_SIZE</literal> hidden field (measured in bytes) must
precede the file input field, and its value is the maximum filesize accepted by PHP.
- Fooling this setting on the browser side is quite easy, so never rely
- on files with a greater size being blocked by this feature.
- The PHP settings for maximum-size, however, cannot be fooled.
- This form element should always be used as it
- saves users the trouble of waiting for a big file being transferred only
- to find that it was too big and the transfer failed.
+ This form element should always be used as it saves users the trouble of
+ waiting for a big file being transferred only to find that it was too
+ large and the transfer failed. Keep in mind: fooling this setting on the
+ browser side is quite easy, so never rely on files with a greater size
+ being blocked by this feature. It is merely a convenience feature for
+ users on the client side of the application. The PHP settings (on the server
+ side) for maximum-size, however, cannot be fooled.
</para>
</example>
</para>