On Sat, 2004-08-14 at 14:40, Mirza yousaf Baig wrote:
> Hi
> I am using textarea in my form which is processes by TFmail.pl and
> results are logged/emailed. If user format lines in textarea by using
> carriage return then this formatting is preserved in the email which is
> perfectly Ok. On the other hand this formatting breaks lines in log file
> too. I want to log results of each submission in one line. Is there any
> way that carriage return from form data are removed when they are saved
> in log file. I want to keep them in email or success page but want to
> remove only from log file.
Currently there is no simple way of doing this without changing the code
of TFmail - I have copied the developers list in case anyone has a
better idea of how this might be done, or alternatively volunteer to
make a change in the program to support it properly.
YOu might consider using an alternative template for your logfile, that
uses some other character than a newline to indicate the end of a record
- for instance you could write then lines out like an HTML table.
/J\
|