Posted by iavian on 10/22/69 11:40
<?php
// We'll be outputting a PDF
header('Content-type: application/pdf');
// It will be called downloaded.pdf
header('Content-Disposition: attachment; filename="downloaded.pdf"');
// The PDF source is in original.pdf
readfile('original.pdf');
?>
replace "downloaded.pdf" with u r pseudo file name ..
Navigation:
[Reply to this message]
|