ID:               50422
 Updated by:       [email protected]
 Reported By:      syed dot msn at gmail dot com
 Status:           Bogus
 Bug Type:         *General Issues
 Operating System: windows vista
 PHP Version:      5.3.1
 New Comment:

Oh, and it's not "temp_name" it's "tmp_name" :)


Previous Comments:
------------------------------------------------------------------------

[2009-12-09 08:18:28] [email protected]

You have quite likely not enabled "register_long_arrays" directive.
Just use $_FILES always. And preferrably
http://php.net/move_uploaded_file instead of copy()..

------------------------------------------------------------------------

[2009-12-09 05:51:22] syed dot msn at gmail dot com

Description:
------------
$pic = $_FILES["pic_field"]["name"];
copy($HTTP_POST_FILES["pic_field"]["temp_name"],"")

error ---> "$HTTP_POST_FILES" is undefined, picture name can not be 
empty




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50422&edit=1

Reply via email to