#22551 [Bgs->Csd]: upload bug and altered files
| From: | cguillaume at cr-bourgogne dot fr | Date: | Wed, 05 Mar 2003 17:15:28 +0000 |
| Subject: | #22551 [Bgs->Csd]: upload bug and altered files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34903@lists.php.net to get a copy of this message | ||
ID: 22551
User updated by: cguillaume at cr-bourgogne dot fr
Reported By: cguillaume at cr-bourgogne dot fr
-Status: Bogus
+Status: Closed
Bug Type: Apache2 related
Operating System: redhat 8.0
PHP Version: 4.2.3
New Comment:
ok thanks ! mea culpa !
but ive could not found it with
keywords "upload file".
so if an other PHP user search with the
same keywords , he'll found it now ! ;o)
thanks for you help !!!
Previous Comments:
------------------------------------------------------------------------
[2003-03-05 10:47:31] moriyoshi@php.net
Unfortunately I've never seen a *good* bug report yet.
Please read and follow the instruction mentioned in bug #18648
------------------------------------------------------------------------
[2003-03-05 10:42:10] cguillaume at cr-bourgone dot fr
moriyoshi :
NOT any "LimitRequestBody"
sniper :
yes i've seen your response "Update to PHP 4.3.1
and Update to Apache 2.0.44" at
http://bugs.php.net/bug.php?id=20963
but :
1) it's more easy to suppress this line
into httpd.conf than all recompile .
so its a good bug report for php users.
2) are you sure that this bug option is
really corrected on theses versions
(perhaps by recompile and install apache + php
you have just erased your httpd.conf and suppress
the bad line option ... ) ?
best regards
(im french so im not english expert)
------------------------------------------------------------------------
[2003-03-05 10:23:45] sniper@php.net
1. Update to PHP 4.3.1
2. Update to Apache 2.0.44
3. Search this bug database before submitting bug reports..
------------------------------------------------------------------------
[2003-03-05 10:02:15] moriyoshi@php.net
Is there any LimitRequestBody directive in your httpd.conf?
Try
$ grep "LimitRequestBody" < httpd.conf
------------------------------------------------------------------------
[2003-03-05 09:25:06] cguillaume at cr-bourgogne dot fr
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 this bug report at http://bugs.php.net/?id=22551&edit=1