|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
48 - 24 = ?
Subscribe to this entry?

 [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: Sun May 19 15:01:31 2024 UTC