Hello,
When I use enctype="multipart/form-data" in an input form, all the text fields have "\r\n" inserted at the beginning when I look at the variables in the recieving script.
For example, if I have
<form action="submit.php" method="post" enctype="multipart/form-data">
<input type=text name="username">
.
.
.
then when the form is submitted, and I look at the value of $username in submit.php, it has had "\r\n" inserted at the beginning of whatever text was actually typed in the input field. Does anyone know how to fix this?
Jason