PHP 4.0 Bug #9450: File uploading problem

From: Date: Mon, 26 Feb 2001 02:32:35 +0000
Subject: PHP 4.0 Bug #9450: File uploading problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-47510@lists.php.net to get a copy of this message
From: korba@korbs.pl Operating system: Linux/RedHat 6.2 PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: File uploading problem Ok, I have simple form: <form type="multipart/form-data" action="./upld.php" method="post"> ... <input type="file" name="userfile"> ... </form> and upld.php contains something like this: ... copy($userfile, $newfile); ... The problem is: $userfile, instead of temporary file name, contains original senders's local file name $userfile_name is empty If I didn't provide enought information, please drop me a note :-) Good luck, Korba -- Edit Bug report at: http://bugs.php.net/?id=9450&edit=1

« previous php.dev (#47510) next »