#50422 [Opn->Bgs]: error uploading file

From: Date: Wed, 09 Dec 2009 08:18:28 +0000
Subject: #50422 [Opn->Bgs]: error uploading file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-145557@lists.php.net to get a copy of this message
ID: 50422 Updated by: jani@php.net Reported By: syed dot msn at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: windows vista PHP Version: 5.3.1 New Comment: 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().. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#145557) next »