When I use the statement
include ("report.html");
The displayed file is truncated only part way through (so much of the file does not appear). This is a problem.
I have the same problem with fread ing the file into a Mail statement.. the email is sent but the file text inserted is truncated... even if I set the filesize to 10000.
$fp = fopen ("report.html", "r");
$file_size = 10000; // filesize("report.html");
echo "Report.html filesize = ".$file_size;
$report = fread ($fp,$file_size);
$mail = mail($email, "SID=$SubjectID, TID=$TestID", $report, "From: jay@isaac.biola.edu\nContent-Type: text/html; charset=iso-8859-1\n");
Thanks!
-Jay