Sanjib Sinha Posted January 22, 2009 Share Posted January 22, 2009 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 More sharing options...
Sanjib Sinha Posted January 22, 2009 Author Share Posted January 22, 2009 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 More sharing options...
haku Posted January 22, 2009 Share Posted January 22, 2009 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 More sharing options...
Sanjib Sinha Posted January 22, 2009 Author Share Posted January 22, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.