#20568 [Opn->Fbk]: Apache2/PHP 4.2.3 File Upload Corruption

From: Date: Fri, 22 Nov 2002 13:14:11 +0000
Subject: #20568 [Opn->Fbk]: Apache2/PHP 4.2.3 File Upload Corruption
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25558@lists.php.net to get a copy of this message
ID: 20568 Updated by: iliaa@php.net Reported By: dw-php.net@botanicus.net -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux PHP Version: 4.2.3 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-11-22 05:22:00] dw-php.net@botanicus.net Hi there, I'm seeing odd corruption occurring to JPEG files (others unconfirmed) when uploading using POST. This is a localhost<->localhost connection, on a file getting uploaded from the same hard disk that the web server saves it to. Upon downgrading to Apache 1.3.27, the problem went away. At the URL below you can find my configuration details, the code that handles the upload (I'm pretty sure it's not that), and some sample damaged files. I cannot tell what kind of damage is occurring, the file size changes randomly, as does the visible damage to the image. I have tried with both w3m and Mozilla. Sample files, the code, my configuration: http://botanicus.net/dw/tmp/phpbug/ Thanks, Dave. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20568&edit=1

« previous php.bugs (#25558) next »