> > 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
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,
>
>
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
3 matches
Mail list logo