• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 958
  • Last Modified:

Can I force a PDF open in browser?

I'm wondering if its posable to force a PDF to open in a browser window and not in Reader.  It seams customers are clicking the links, files are being downloaded and the user is not realizing anything has happened.  Can I just force them to open in the browser, only downloading if they hit save?
0
graphxdiva
Asked:
graphxdiva
  • 2
1 Solution
 
eft0Commented:
I use (and work) the embed Tag:

<embed src="file.pdf#toolbar=0&navpanes=0&scrollbar=0" width="500" height="375"></embed>

The params after # are for Adobe reader only (i don't have time to test in others readers). Try it.
0
 
Loganathan NatarajanLAMP DeveloperCommented:
If you use PHP, you can read the pdf and open it in the browser...

do you want to work on this idea?
0
 
Loganathan NatarajanLAMP DeveloperCommented:
have you tried?
0
 
graphxdivaAuthor Commented:
Could you give me an example of doing it in PHP?  I'd be interested in this method.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now