ID: 9125 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Other Operating System: Linux redhat 6.2 & SuSE 7.0 on i PHP Version: 3.0.17 New Comment:
We are sorry, but can not support PHP 3 related problems anymore. Momentum is gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will will continue to be supported for the forseeable future. file upload has been rewritten completely for php 4.2 Previous Comments: ------------------------------------------------------------------------ [2001-02-06 07:48:52] [EMAIL PROTECTED] -php 3.0.18 under RedHat linux 6.2 , apache 1.3.14 -php 3.0.16 and 4.0.3pl1 under SuSE linux 7.0 , apache 1.3.12 I try to use upload files mechanism _in a correct manner_ with gif images files: - under Windows98 i have no problems, the files are upload correctly - under Linux with same version of php, the upload mechanism work but image file result corrupted then I try to open corrupted file and original file with hexeditor and surprise! I have found that the head of corrupted file begin like this: 0000 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 69 6d Content- Type: im 0010 61 67 65 2f 67 69 66 0d 0a 0d 0a 47 49 46 38 37 age/gif. ...GIF87 0020 61 98 01 4a 00 f7 00 00 00 00 00 ff ff ff 00 00 a..J.�.. ...���.. a correct image file begin like this: 0000 47 49 46 38 37 61 98 01 4a 00 f7 00 00 00 00 00 GIF87a.. J.�..... 0010 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 ���..... ........ I also tryed with jpeg , bmp , tif and these files are uploaded correctly on SuSE 7.0 php 4.0.3pl1 . on RedHat 6.2 php 3.0.18 JPEG, files (and other??) some time are uploaded correctly but some time are corrupted with same bug: 0000 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 69 6d Content- Type: im 0010 61 67 65 2f 6a 70 65 67 0d 0a 0d 0a ff d8 ff e0 age/jpeg ....���� the problem may be apache versions or some library versions ??? with this bug I have a big problem for my work, for now I have try to write a little C program that correct files corrupted but I prefer a real solution! help me! Samuele Catuzzi (from latina, italy) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=9125&edit=1
