ac senthilkumar's blog
________________________________________________________________________________________
Tuesday, June 14, 2011
Serve file to download like "Save as"
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="downloaded.pdf"');
readfile('original.pdf');
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Popular Posts
Internet Images
Type Cheking
Tips - Javascript
Misc SQL's
Flash Builder 4
Err: Unlock Login Keyring in Ubuntu 11.10 problem
Err: Call to a member function get_cellmap() on a non-object by sfDomPDFPlugin in Symfony
To Convert set of RPM to DEB
quicktime demuxer not found in Ubuntu 11.10
Err: Install the XSL module (recommended for Propel) ...
No comments:
Post a Comment