|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9450 File uploading problem
Submitted: 2001-02-25 21:32 UTC Modified: 2001-02-27 08:12 UTC
From: korba at korbs dot pl Assigned:
Status: Closed Package: HTTP related
PHP Version: 4.0.4pl1 OS: Linux/RedHat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: korba at korbs dot pl
New email:
PHP Version: OS:


 [2001-02-25 21:32 UTC] korba at korbs dot pl
Ok, I have simple form:
<form type="multipart/form-data" action="./upld.php" method="post">
<input type="file" name="userfile">

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,


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-26 09:52 UTC] korba at korbs dot 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-27 08:12 UTC]
This is fixed in CVS. Try a CVS snapshot from


PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 13:01:34 2024 UTC