Jump to content

pdf problem


Sanjib Sinha

Recommended Posts

I can save a pdf file into an image and get it into the page. There is no problem.

But without saving it as an image, if I want to get it in my page, what will be the procedure? Is there any at all?

I don't want to create pdf file from php. That is not my goal. I just want to produce pdf as it is into my page. :-\

Link to comment
https://forums.phpfreaks.com/topic/141890-pdf-problem/
Share on other sites

I can save a pdf file into an image and get it into the page. There is no problem.

But without saving it as an image, if I want to get it in my page, what will be the procedure? Is there any at all?

I don't want to create pdf file from php. That is not my goal. I just want to produce pdf as it is into my page. :-\

When I include or require_once any pdf file it produces a long list of unknown characters!

Any IDEA from anyone?

 

 

Link to comment
https://forums.phpfreaks.com/topic/141890-pdf-problem/#findComment-742976
Share on other sites

You can't include a .pdf that way. You need to use an object tag I think. Google 'embed pdf into webpage' and you should be able to find some info on it.

 

The other way is to just have a link to the pdf file in your page. When the link is clicked, the pdf will open in the users browser.

Link to comment
https://forums.phpfreaks.com/topic/141890-pdf-problem/#findComment-742980
Share on other sites

You can't include a .pdf that way. You need to use an object tag I think. Google 'embed pdf into webpage' and you should be able to find some info on it.

 

The other way is to just have a link to the pdf file in your page. When the link is clicked, the pdf will open in the users browser.

 

Thanks. I will do some googling as you told. Thanks again.

Link to comment
https://forums.phpfreaks.com/topic/141890-pdf-problem/#findComment-743212
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.