|
-
Dec 13th, 2009, 01:44 AM
#1
Thread Starter
Lively Member
PDF in a table/div/frame
is their a way that i would open my pdf files in a table/div/frame using php?
it goes like this:
===========================
| |
| |
| my pdf file will be here |
| |
| |
| |
============================
-
Dec 13th, 2009, 11:39 AM
#2
Re: PDF in a table/div/frame
I don't think so, no. PDF isn't a native format to any browser; you can only open it in a browser thanks to plugins.
-
Dec 13th, 2009, 12:28 PM
#3
Re: PDF in a table/div/frame
most browsers let you open PDF files with a plugin nowadays, so you could simply make an iframe with the PDF file as the source. but, there are a few ways to either generate PDF files from scratch with PHP, or read them.
after looking around for a little while, I've found plenty of PDF generators but not very many PDF readers. Zend_PDF is a PDF generator/reader that sounds like it would work fine for what you want.
XPDF is an open source PDF reader. it's an application rather than a PHP-specific plugin, but you could run the pdftotext binary using shell_exec() to capture its output.
as far as generators go, they may or may not have the ability to import pre-existing PDFs. the ones I found were PDFlib, Haru PDF, FPDF, and TCPDF. FPDI was an add-on for both FPDF and TCPDF, too. you could google any of those names and find some stuff, I'm sure.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|