Re: [PHP] Truncating Lines

2001-10-25 Thread brett
> > I have the following code, which reads in an html file > > > > $fd = fopen("somefile.html", "r"); > > while (!feof($fd)) { > > $buffer = fgets($fd, 4096); > > $body .= $buffer; > > } > > fclose($fd); > > > > I am then mailing this: > > > > if (mail($username." <".$email.">", $mailsubje

Re: [PHP] Truncating Lines

2001-10-25 Thread DL Neil
Please define "long", and perhaps think of that in the context of the RFC ?822 is it? =dn - Original Message - From: "BT News" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 25 October 2001 17:38 Subject: [PHP] Truncating Lines > Hi, > >

[PHP] Truncating Lines

2001-10-25 Thread BT News
Hi, I have the following code, which reads in an html file $fd = fopen("somefile.html", "r"); while (!feof($fd)) { $buffer = fgets($fd, 4096); $body .= $buffer; } fclose($fd); I am then mailing this: if (mail($username." <".$email.">", $mailsubject, $body, "From: ".$Fromname." <".$Fromadd