ID: 16449 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Win2K Professional PHP Version: 4.1.2 New Comment:
The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Previous Comments: ------------------------------------------------------------------------ [2002-04-05 06:48:06] [EMAIL PROTECTED] Hello, I'm having a problem with upload of binary files (tipically image/jpeg, image/pjpeg). The problem seems to happen with files bigger than 20k. Infact it doesn't happen with tiny files like 5-10-15k. I've done a class to handle file uploads, and it worked fine with previous version of PHP (4.0.6). I tested also against Linux version (still 4.0.6) and it works fine. The class simply handle $HTTP_POST_FILES[$fieldname]['tmp_name'] and does a copy($tempName,$filename). Using $_FILES either doesn't work. I tested against PHP 4.1.2, PHP 4.2.0RC1 and RC2 too, but the bug still persists, on Windows 2000 platform. I cannot verify this, but unless the copy function is broken, the temporary file uploaded to Apache is already corrupt. Any advice is kindly appreciated. Thanks Mirko Buffoni ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16449&edit=1
