young Thu May 27 02:30:25 2004 EDT
Modified files: /phpdoc/en/features file-upload.xml Log: reverting promotion for some global variables http://cvs.php.net/diff.php/phpdoc/en/features/file-upload.xml?r1=1.75&r2=1.76&ty=u Index: phpdoc/en/features/file-upload.xml diff -u phpdoc/en/features/file-upload.xml:1.75 phpdoc/en/features/file-upload.xml:1.76 --- phpdoc/en/features/file-upload.xml:1.75 Wed May 26 16:54:06 2004 +++ phpdoc/en/features/file-upload.xml Thu May 27 02:30:24 2004 @@ -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 @@ 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.