ID: 16122
Updated by: [EMAIL PROTECTED]
-Summary: FileUpload: $userfile can work, but
$_REQUEST["userfile"] can't
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Win2000pro + IIS5
PHP Version: 4.1.1
New Comment:
Use $_FILES['userfile']['tmp_name'].
Also, read this page:
http://www.php.net/manual/en/features.file-upload.php
Not a bug.
Previous Comments:
------------------------------------------------------------------------
[2002-03-17 00:54:48] [EMAIL PROTECTED]
move_uploaded_file() also has same problem!
------------------------------------------------------------------------
[2002-03-17 00:16:25] [EMAIL PROTECTED]
when handling upload files (use the example in the PHP manual)
is_upload_file($userfile) returns true
but if I use is_upload_file($_REQUEST["userfile"]), it returns false
$userfile = $_REQUEST["userfile"], isn't it ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16122&edit=1