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 {- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Jim Winstead
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Hojtsy Gabor
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Yasuo Ohgaki
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Yasuo Ohgaki
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Yasuo Ohgaki
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Torben Wilson
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Jan Lehnardt
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Thomas Schoefbeck
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Simone Cortesi
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml da li
- Re: [PHP-DOC] cvs: phpdoc /en/features file-upl... Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Philip Olson
- Re: [PHP-DOC] cvs: phpdoc /en/features file-upl... Gabor Hojtsy
- Re: [PHP-DOC] cvs: phpdoc /en/features file... Philip Olson
- [PHP-DOC] cvs: phpdoc /en/features file-upload.xml Philip Olson
