From:             cguillaume at cr-bourgogne dot fr
Operating system: redhat 8.0 
PHP version:      4.2.3
PHP Bug Type:     Apache2 related
Bug description:  upload bug and altered files

if you add this line in your httpd.conf : 

AddType application/x-httpd-php .php4 .php3 .php

when you upload a file (size > 1ko)
you get an altered file into your php script 

this bug was tested on php 4.2.2 and 4.2.3 
on Apache/2.0.40 

thanks 

-- 
Edit bug report at http://bugs.php.net/?id=22551&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22551&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22551&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22551&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22551&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22551&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22551&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22551&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22551&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22551&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22551&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22551&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22551&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22551&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22551&r=gnused

Reply via email to