php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20568 Apache2/PHP 4.2.3 File Upload Corruption
Submitted: 2002-11-22 05:22 UTC Modified: 2002-12-04 18:17 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: dw-php dot net at botanicus dot net Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dw-php dot net at botanicus dot net
New email:
PHP Version: OS:

 

 [2002-11-22 05:22 UTC] dw-php dot net at botanicus dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-22 07:14 UTC] iliaa@php.net
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


 [2002-12-04 18:17 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC