I think this could have something to do with the way you're filtering the POSTed data. The TEXTAREA tag will transmit lines with line breaks intact as CR/LF pairs. I see you stripping \n. If the server is UNIX, that would remove the LF characters but leave the CR characters. You might try also stripping \r.
In reply to Re: Extra blank lines in script output
by steves
in thread Extra blank lines in script output
by emav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |