- Clean this up a bit.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155295 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2004-04-03 17:05:44 +00:00
parent df4645cc0e
commit 774f836293

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.71 $ -->
<!-- $Revision: 1.72 $ -->
<chapter id="features.file-upload">
<title>Handling file uploads</title>
@ -58,12 +58,13 @@
upload will not work.
<warning>
<para>
The MAX_FILE_SIZE is advisory to the browser, althought PHP also check
it. It is easy to circumvent this maximum, so don't count on it that the
browser obeys your wish! The PHP-settings for maximum-size, however,
cannot be fooled. But you should add MAX_FILE_SIZE anyway as it saves
users the trouble to wait for a big file being transferred only to find
out that it was too big afterwards.
The MAX_FILE_SIZE is advisory to the browser, although PHP also checks
it. Changing this on the browser size is quite easy, so you can never
rely on files with a greater size being blocked by this feature. The
PHP-settings for maximum-size, however, cannot be fooled. You should add
the MAX_FILE_SIZE form variable anyway as it saves users the trouble to
wait for a big file being transferred only to find out that it was too
big afterwards.
</para>
</warning>
</para>