ID: 9147 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Unknown/Other Function Assigned To: Comments: Please try the latest CVS snapshot from http://snaps.php.net/ as this works for me just fine. (you have to compile it yourself though) --Jani Previous Comments: --------------------------------------------------------------------------- [2001-02-07 20:47:50] [EMAIL PROTECTED] 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 --------------------------------------------------------------------------- [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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9147&edit=2 -- 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]