cvs: phpdoc /en/features file-upload.xml

From: Date: Thu, 07 Feb 2002 01:26:48 +0000
Subject: cvs: phpdoc /en/features file-upload.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969342015@lists.php.net to get a copy of this message
torben Wed Feb 6 20:26:48 2002 EDT Modified files: /phpdoc/en/features file-upload.xml Log: Small fix. Index: phpdoc/en/features/file-upload.xml diff -u phpdoc/en/features/file-upload.xml:1.31 phpdoc/en/features/file-upload.xml:1.32 --- phpdoc/en/features/file-upload.xml:1.31 Mon Jan 28 06:06:51 2002 +++ phpdoc/en/features/file-upload.xml Wed Feb 6 20:26:48 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> +<!-- $Revision: 1.32 $ --> <chapter id="features.file-upload"> <title>Handling file uploads</title> @@ -191,7 +191,7 @@ <programlisting role="php"> <![CDATA[ <?php -// PHP 4.1.0 or later, $_FILES may be used instead of $HTTP_POST_FILES +// In PHP 4.1.0 or later, $_FILES should be used instead of $HTTP_POST_FILES. if (is_uploaded_file($HTTP_POST_FILES['userfile'])) { copy($HTTP_POST_FILES['userfile']['tmp_name'], "/place/to/put/uploaded/file"); } else {

« previous php.doc (#969342015) next »