reverting promotion for some global variables

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159769 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Alexander Voytsekhovskyy 2004-05-27 06:30:24 +00:00
parent aea1f55f43
commit d413c677cf

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.75 $ -->
<!-- $Revision: 1.76 $ -->
<chapter id="features.file-upload">
<title>Handling file uploads</title>
@ -506,9 +506,9 @@ Script PUT /put.php
linkend="features.file-upload.post-method">POST-method</link>.
When the request ends, this temporary file is deleted. So, your
PUT handling PHP script has to copy that file somewhere. The
filename of this temporary file is in the <varname>PHP_PUT_FILENAME</varname>
filename of this temporary file is in the <varname>$PHP_PUT_FILENAME</varname>
variable, and you can see the suggested destination filename in
the <varname>REQUEST_URI</varname> (may vary on non-Apache web servers). This
the <varname>$REQUEST_URI</varname> (may vary on non-Apache web servers). This
destination filename is the one that the remote client specified.
You do not have to listen to this client. You could, for example,
copy all uploaded files to a special uploads directory.