diff options
author | Sashi20 | 2020-07-24 11:15:23 +0530 |
---|---|---|
committer | Sashi20 | 2020-07-24 11:15:23 +0530 |
commit | ef0d062619d465965c05d69346ed68f2c188fd17 (patch) | |
tree | 5a27f69ec4fb7393cf60e2cefd10959d74f01ddd | |
parent | 327f2b89a03717a0e1e6e102c51e547556a15ec9 (diff) | |
download | cfd_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-x | pdf/cert_new.inc | 6 |
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); |