ID: 24896 Updated by: [EMAIL PROTECTED] Reported By: tycje at hotmail dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment:
Everything is correct. is_upload_file was introduced in PHP 4.0.3. Previous Comments: ------------------------------------------------------------------------ [2003-07-31 17:20:47] tycje at hotmail dot com Description: ------------ On http://www.php.net/manual/en/features.file-upload.php there is an example 18-2, which mentions: "// In PHP earlier then 4.0.3, use copy() and is_uploaded_file() instead of move_uploaded_file" I find this quite confusing, because in the documentation of is_uploaded_file() at http://www.php.net/manual/en/function.is-uploaded-file.php it says: "is_uploaded_file() is available only in versions of PHP 3 after PHP 3.0.16, and in versions of PHP 4 after 4.0.2." So, for versions 4 earlier than 4.0.3, the example is wrong. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24896&edit=1