mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added common pitfall
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68910 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
348db826ee
commit
d933110669
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.29 $ -->
|
||||
<!-- $Revision: 1.30 $ -->
|
||||
<chapter id="features.file-upload">
|
||||
<title>Handling file uploads</title>
|
||||
|
||||
|
@ -267,6 +267,11 @@ if (is_uploaded_file($HTTP_POST_FILES['userfile'])) {
|
|||
execution may be exceeded the value. Make sure to set
|
||||
<literal>max_execution_time</literal> large enough.
|
||||
</simpara>
|
||||
<simpara>
|
||||
If <literal>post_max_size</literal> is set too small, large file
|
||||
cannot be uploaded. Make sure to set
|
||||
<literal>post_max_size</literal> large enough.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Not validating which file you operate on may mean that users can access
|
||||
sensitive information in other directories.
|
||||
|
|
Loading…
Reference in a new issue