ID: 9147 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Description: bugs in post using multipart/form-data Hello! I installed "php-4.0.4pl1-3.i386.rpm" which can be obtained from "ftp://updates.redhat.com". When one tries to send variables using multipart form, one always get strings with additional CR LF characters at the front. Below I enclose two short files. Please try them. --- a.html ------ <form method=post enctype="multipart/form-data" action="b.php"> Data:<input name=aa value="00000"> </form> --- b.php ------- <? $aahex = bin2hex($aa) ; echo "$aahex"; ?> ------------------ When I submit the form (a.html) with Data = 00000, I get "0d0a3030303030". Here I can see extra CR LF ("0d0a"). When I used older version ( 4.0.3), I didn't experience such things. Thank you. Haewon Lee Physics Dept. Chunbuk Nat'l Univ., Korea Previous Comments: --------------------------------------------------------------------------- [2001-02-07 09:42:08] [EMAIL PROTECTED] Hello! I installed "php-4.0.4pl1-3.i386.rpm" which can be obtained from "ftp://updates.redhat.com". When one try to send variables using multipart form, one always get strings with additional CR LF characters at the front. Below I enclose two short files. Please try them. --- a.html ------ <form method=post enctype="multipart/form-data" action="b.php"> Data:<input name=aa value="00000"> </form> --- b.php ------- <? $aahex = bin2hex($aa) ; echo "$aahex"; ?> ------------------ Where I submit the form (a.html) with Data = 00000, I get "0d0a3030303030". Here I can see extra CR LF ("0d0a"). When I used older version ( 4.0.3), I didn't experience such things. Thank you. Haewon Lee Physics Dept. Chunbuk Nat'l Univ., Korea --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9147 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]