Re: cvs: phpdoc /en/features file-upload.xml
| From: | Philip Olson | Date: | Wed, 26 May 2004 21:43:27 +0000 |
| Subject: | Re: cvs: phpdoc /en/features file-upload.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361036@lists.php.net to get a copy of this message | ||
> @@ -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 $PHP_PUT_FILENAME
> + filename of this temporary file is in the <varname>PHP_PUT_FILENAME</varname>
> variable, and you can see the suggested destination filename in
> - the $REQUEST_URI (may vary on non-Apache web servers). This
> + the <varname>REQUEST_URI</varname> (may vary on non-Apache web servers). This
This section of the manual is titled "PHP 3 Only" and
being that register_globals didn't exist in PHP 3 (so
it was always "on") this change may want to be reverted
as it's essentially only here for archival reasons. In
fact, I don't believe $HTTP_SERVER_VARS existed in PHP 3
but it's been too long... The example in this section
is also for PHP 3 only.
Also when we remove the $ for variables living within
superglobals we should probably link to the appropriate
superglobal at somepoint within the section. It appears
we are always doing this so that's good :)
Regards,
Philip