Jump to content

Display PDF in website


suju

Recommended Posts

I mean I want to display pdf files in the webpage using PHP. When I am displaying, the download and print option are coming. I want to hide these options. Or I want to know is there any other solution for this.\

 

This is the way I tried. But it is working only in the internet explorer.

 

<object data="test.pdf#toolbar=0&navpanes=0&scrollbar=0" type="application/pdf"  style="width:100%; height:100%" >
        <PARAM NAME="SRC" VALUE="test.pdf#toolbar=0&navpanes=0&scrollbar=0"> 
       <embed src="test.pdf#toolbar=0&navpanes=0&scrollbar=0"  type="application/pdf" />
</object>
Edited by suju
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.