PHP 4.0 Bug #9450 Updated: File uploading problem
| From: | korba at korbs dot pl | Date: | Mon, 26 Feb 2001 14:52:16 +0000 |
| Subject: | PHP 4.0 Bug #9450 Updated: File uploading problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47566@lists.php.net to get a copy of this message | ||
ID: 9450
User Update by: korba@korbs.pl
Status: Open
Bug Type: HTTP related
Description: File uploading problem
Ooops, I'm very sorry, it was my mistake... Of course everthing works fine, except when
uploading picture, it contains "Content-type: ...." at the beginnig. But I guess it's
different bug-report.
Previous Comments:
---------------------------------------------------------------------------
[2001-02-25 21:32:34] korba@korbs.pl
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9450