#20568 [NEW]: Apache2/PHP 4.2.3 File Upload Corruption
| From: | dw-php dot net at botanicus dot net | Date: | Fri, 22 Nov 2002 11:22:00 +0000 |
| Subject: | #20568 [NEW]: Apache2/PHP 4.2.3 File Upload Corruption | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25551@lists.php.net to get a copy of this message | ||
From: dw-php.net@botanicus.net
Operating system: Linux
PHP version: 4.2.3
PHP Bug Type: Apache2 related
Bug description: Apache2/PHP 4.2.3 File Upload Corruption
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 bug report at http://bugs.php.net/?id=20568&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20568&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20568&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20568&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20568&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20568&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20568&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20568&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20568&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20568&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20568&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20568&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20568&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20568&r=isapi