Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92756

Re: Force Download PDF code - getting "could not open" error

$
0
0

Hi I have changed the:

header('Content-type: application/pdf');

to

header('Content-Type: application/octet-stream');

 

but still not working sadly for the (php coding way - still downloads a zero byte PDF)

the AddType application/octet-stream did however work for the htaccess way as I said above (just not on IE)

 

the clearing cache thing also didnt work.

 

thanks for the suggestions though.


Viewing all articles
Browse latest Browse all 92756

Trending Articles