Hi, i got a really strange problem here with a POST-form.
All i want to do is print out the string values of an array passed by a input text field on a post-form wich is "multipart/form-data"-encoded.
But when i print out the values, there is a carriage return attached to the beginning of the strings.
First off all here is the Form :
<form method="post" action="doit.php" enctype="multipart/form-data">
<input type="text" name="fp[value1]">
<input type="text" name="fp[value2]">
<input type="file" name="file" enctype="multipart/form-data">
<input type="submit" name="button" value="Send">
</form>
And here is the script:
<pre>INPUT: <?php echo $fp['value1']."|".$fp['value2']; ?>
-> Results in the following :
INPUT:
blahblahblah|
blahblah
What is the problem ????
Thanx for answers