I have a PHP script which is downloading file after it is created. Everything is working correctly when using PC but when I want to load same script on my iPad for example I can't download it. I'm getting error that file is broken.
What could be the problem?
My headers in PHP file:
header('Content-Description: File Transfer');
header("Content-type: application/ms-word");
header("Content-Disposition: attachment;Filename=offer.doc");