do this when you output the pdf content:
header("Content-type: application/pdf");
echo $content_for_pdf;
exit();
On Monday, January 2, 2012 12:08:58 AM UTC-6, Arif wrote:
--Dear All,CAKEPHP Download Problem IN MAC PC Safari Browser :Currently My PDF File Possible to download by Mozilla, IE, Safari from windows.When i download pdf file from MAC Pc Safari Browser then facing problem.When i download pdf file from mac safari browser then add extra extension .html with pdf file name.I need to download only .pdf extension file.Example : myfile.pdf.htmlPlease Give me Suggestion and Solutions.--
Regards,
Mohammad Arif Hossen
Software Engineer at
Japan Bangladesh IT(JABA IT)
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment