In windows when i save a pdf with firefox adobe reader plugin ocurs this problem.
The file saved is: http://www.example.com/opendocument.php_doc=._docs_doc01
Benim başlıkları şunlardır:
header('Content-type: application/pdf');
//header('Content-Disposition: inline; filename=doc01.pdf');
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($pdf));
Orijinal çağrı:
http://www.example.com/opendocument.php?doc=./docs/doc01.pdf
Ben ek başlık faiz değilim. Ben, sitenize entegre açmak dış penceresinde o karşıdan olmamalıdır.
Herhangi bir fikir?