![]() That said, here's a block of code we use in the createPDF plugin to send a PDF as a download instead of displaying inline and it works pretty much all the time: Internet Explorer has a history of ignoring headers and just looking at the file extension. Getting all the browsers to treat a file the same way. Header('Content-Transfer-Encoding: binary') Header('Content-Disposition: attachment filename='.$filename) Header('Content-Type: application/force-download') Header('Content-Description: File Transfer') Header('Cache-Control: must-revalidate, post-check=0, pre-check=0') Script used from link above and named downloadmusic.php: New associates should listen to this first.īrian Lucia Customer Gathering - The best customer gathering advice.Ĭoach & Cowboy Call w Logan Stout - Logan lays out his plan with a new associate. Thanks! although this will be worked into CMSBuilder eventually, it currently isn't so i put it here under off-topic.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |