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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 12:01:28 2025 UTC