On Tue, Nov 15, 2011 at 11:08 PM, HallMarc Websites <m...@hallmarcwebsites.com> wrote: > I'm sure everyone here is aware that the latest Mac OS and Safari 5.1.x do > not support opening PDFs in the browser window with Acrobat Reader plugin > anymore. It is now necessary to open them with Preview instead. My question > is this, does anyone know if it is possible to force Safari to use Preview > with PHP? >
Hi, I don't have a Mac to test, but you can force PDF download with Content-Disposition header in php. Look at Example 1 of the manual page for the header function: http://php.net/manual/en/function.header.php#example-3913 You might need some check if browser is Safari first.. Cheers, Matijn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php