PHP 4.0 Bug #9450 Updated: File uploading problem
| From: | sniper@php.net | Date: | Tue, 27 Feb 2001 13:12:07 +0000 |
| Subject: | PHP 4.0 Bug #9450 Updated: File uploading problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47612@lists.php.net to get a copy of this message | ||
ID: 9450
Updated by: sniper
Reported By: korba@korbs.pl
Old-Status: Open
Status: Closed
Bug Type: HTTP related
Assigned To:
Comments:
This is fixed in CVS. Try a CVS snapshot from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-26 09:52:16] korba@korbs.pl
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.
---------------------------------------------------------------------------
[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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9450&edit=2