php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39938 Corrupt Files
Submitted: 2006-12-23 23:17 UTC Modified: 2006-12-23 23:36 UTC
From: cray at multicastmedia dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 5.2.0 OS: Mac OS X (10.4.8)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cray at multicastmedia dot com
New email:
PHP Version: OS:

 

 [2006-12-23 23:17 UTC] cray at multicastmedia dot com
Description:
------------
I'm uploading some files from an Adobe Flex application through a file called "upload.php".  The problem is that all the files I upload come out corrupt on the other side.  File size remains the same, but NO files can be uploaded.  Any help would be appreciated!

Reproduce code:
---------------
<?PHP
$fileName = basename( $_FILES['Filedata']['name'] );    


$uploadFile = "uploadedFiles/".$fileName;

move_uploaded_file( $_FILES['Filedata']['tmp_name'] , $uploadFile ); 

?>



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-23 23:36 UTC] cray at multicastmedia dot com
I'm an idiot....forget it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 11:01:30 2024 UTC