#39938 [Opn->Bgs]: Corrupt Files
| From: | cray at multicastmedia dot com | Date: | Sat, 23 Dec 2006 23:36:59 +0000 |
| Subject: | #39938 [Opn->Bgs]: Corrupt Files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106828@lists.php.net to get a copy of this message | ||
ID: 39938
User updated by: cray at multicastmedia dot com
Reported By: cray at multicastmedia dot com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Mac OS X (10.4.8)
PHP Version: 5.2.0
New Comment:
I'm an idiot....forget it.
Previous Comments:
------------------------------------------------------------------------
[2006-12-23 23:17:29] 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 );
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39938&edit=1