summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-07-24 11:15:23 +0530
committerSashi202020-07-24 11:15:23 +0530
commitef0d062619d465965c05d69346ed68f2c188fd17 (patch)
tree5a27f69ec4fb7393cf60e2cefd10959d74f01ddd
parent327f2b89a03717a0e1e6e102c51e547556a15ec9 (diff)
downloadcfd_case_study-ef0d062619d465965c05d69346ed68f2c188fd17.tar.gz
cfd_case_study-ef0d062619d465965c05d69346ed68f2c188fd17.tar.bz2
cfd_case_study-ef0d062619d465965c05d69346ed68f2c188fd17.zip
Update the ,ength bytes in fread function
-rwxr-xr-xpdf/cert_new.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/cert_new.inc b/pdf/cert_new.inc
index 8fb6e5c..c5ec8a1 100755
--- a/pdf/cert_new.inc
+++ b/pdf/cert_new.inc
@@ -216,10 +216,10 @@ function generate_pdf()
flush();
$fp = fopen($file, "r");
while (!feof($fp)) {
- echo fread($fp, 65536);
+ echo fread($fp, filesize($file));
flush();
- ob_end_flush();
- ob_clean();
+ //ob_end_flush();
+ //ob_clean();
} //!feof($fp)
fclose($fp);
unlink($file);