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" <[EMA
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 u