/ Published in: PHP
Quick basic way to serve a string or a file through PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// pdfString is the *contents* of a file. // to serve a file that exists on the file system, use readfile() instead of print $pdfString print $pdfString; exit;