for anyone who cares, someone else told me:
$body = str_replace("\r","",str_replace("\n","",nl2br($body)));
$line =
stripslashes($heading."|".$userno."|".time()."|".$body)."\n";
fwrite($output,$line);
cheers to GuruBob for helping me with this one :)
"Brett Taylor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> oops, forgot this line
>
> > // problem area begins here
> > $body = nl2br($body);
> > $line = $heading.'|'.$userno.'|'.time().'|'.$body;
> $line = stripslashes($line);
> > $line = $line."\n" ;
> > // end problem area
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]