mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
added small paragraph for result of empty input file box
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@140505 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3de215b1df
commit
25cd819f59
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.63 $ -->
|
||||
<!-- $Revision: 1.64 $ -->
|
||||
<chapter id="features.file-upload">
|
||||
<title>Handling file uploads</title>
|
||||
|
||||
|
@ -214,6 +214,11 @@ print "</pre>";
|
|||
Whatever the logic, you should either delete the file from the
|
||||
temporary directory or move it elsewhere.
|
||||
</simpara>
|
||||
<simpara>
|
||||
If no file is selected for upload in your form, PHP will return
|
||||
$_FILES['userfile']['size'] as 0, and $_FILES['userfile']['tmp_name'] as
|
||||
none.
|
||||
</simpara>
|
||||
<simpara>
|
||||
The file will be deleted from the temporary directory at the end
|
||||
of the request if it has not been moved away or renamed.
|
||||
|
|
Loading…
Reference in a new issue