troubleshooting Question

Force PDF to open inline as opposed to dowload

Avatar of Neil_Bradley
Neil_BradleyFlag for New Zealand asked on
PHP* CMS
16 Comments1 Solution2151 ViewsLast Modified:
I am using a module in CMSMS called "Uploads". It allows the site owner to echo lists of PDF files on a web page.
Problem is that when clicking to open a PDF (even using target_blank) the PDF firsts downloads before opening.

Is there anyway to use htacess to force the PDF in the browser window?
It looks like there may be php code in the Uploads module that is modifying the headers and forcing PDFs to download.
Thanks in advance.
N
ASKER CERTIFIED SOLUTION
skullnobrains

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 16 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros