I reviewed 10's of link with many offered soultions but have not made any inroad.
I have a simple php script
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false);
if (!Operating_System_Is_IOS)
{
header("Content-disposition: attachment; filename=gwcc-bylaws.pdf");
}
header("Content-type: application/pdf");
readfile("www.gwcc.org.nz/wp-content/uploads/2014/01/gwcc-bylaws.pdf");
that does not work. I also tried
header('Content-disposition: inline; filename=' .urlencode('gwcc-bylaws.pdf'));
instead. Still not working.
Does anyone know how to set up a PHP to have a file downloaded (or displayed) on Ipad?
Thanks.