Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- how to open .pdf file in webpage


phranque - 9:02 pm on Jun 15, 2012 (gmt 0)


welcome to WebmasterWorld, salman!
(sorry i missed that before)

content-disposition: attachment is meant to force a download - isn't it?

yes, rocknbil, my mistake - i copied some standard code and didn't finish editing before submitting.

salman - you specifically DON'T want the "content-disposition: attachment" header and you MUST have the "Content-type:application/pdf" header.


Thread source:: http://www.webmasterworld.com/html/4465513.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com