Could you post the code you're using to write your $_POST variable to the e-mail message? I seem to remember coming across a problem like this in the past, and I'd like to see your code to see if it jogs my memory.

Thanks.

BTW, it shouldn't have anything to do with the fact that you're entering the data into a form from a Windows computer and processing it with a script on a UNIX machine.



Scott Taylor wrote:


I am entering some text into a webpage, then using $_POST on the next page to recieve it. It then should email the $_POST to an email address. The problem that I am encountering is that I am getting an extra line break on every line.


If I enter

a
b

into the textarea (which is the variable through POST) and do a character count it only shows 3 - the a, the \n, the b. Yet in the email address it comes out as:

a

b

Why is this?

BTW: I am on a windows computer but the server is a unix server.

Best Regards,

Scott

-- Regards, Ben Ramsey http://benramsey.com http://www.phpcommunity.org/wiki/People/BenRamsey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to