ID: 26882 User updated by: mascari at odarainternet dot com dot br Reported By: mascari at odarainternet dot com dot br -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: Conectiva Linux 9.0 PHP Version: 4.3.4 New Comment:
I brought update the PHP4 of 4.3.3 for 4.3.4 and problem continues. I go to try to use the CVS now snapshot... Previous Comments: ------------------------------------------------------------------------ [2004-01-12 10:01:28] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-01-12 08:44:49] mascari at odarainternet dot com dot br Description: ------------ I am using Apache 2.0.48 and PHP 4.3.3 and how much I try to make upload of file not text, the size of the file are increased. Analyzing the content of the increased file, I perceived that all the lines blank, marked for caracter "@" had been substituted by the posterior content the lines blank. PS: I tested to send an file using one scripts Perl that I have and the file was sent correctly... Reproduce code: --------------- upload.htm: <html><body> <form action="upload.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="20971520"> <input name="userfile" type="file"><br> <input type="submit" value="Send files"> </form> </body></html> upload.php: <? if(move_uploaded_file($_FILES['userfile']['tmp_name'],"/tmp/".$_FILES['userfile']['name'])) { echo "SUCCESSFULL"; } else { echo "ERROR<br>"; print_r($_FILES); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26882&edit=1