PDF and PHP. How can I read the field data? - php

I'm looking for some help..
I need to create a web page (PHP) that will read an uploaded PDF, and save inside a database all the pdf's textarea/checkbox etc..
Someone can suggest a good PHP class? I tried the FDF library.. but is not working on PHP 5.3

If you're used to using frameworks, then the Zend PDF library might be just right for you.

Have you tried PDF Reader? It works with PHP 5

Related

how to use HTML to PDF Library

Can anyone help me with resources on how to use HTML2PDF am a beginner, i just downloaded the library but not sure how to proceed can anyone helpout.
Thanks
I don't know HTML2pdf, but I recommend using tcpdf. Extract the files to your server and just work of one of the examples. Very easy.

Path issues for render libraries in phpExcel for PDF

I was searching and working many hours but I haven't got solution yet.
I need to convert .xls, .xlx , and .txt file into .pdf file. How to do that? I hasn't got PHP API,
I need to use only core PHP on localhost and not use any framework.
Thanks for every advice...

php edit interactive pdf form

I have an interactive pdf that has a few forms with input fields and checkboxes. I need to open this pdf with php and complete the fields. Is there a way to do that with php? If yes can anyone recommend a library, preferably free.
PS: looked at Zend_Pdf in version 1.11. Seems it might be able to do the job but no documentation is there about this.
Thanks
I use http://www.setasign.de/products/pdf-php-solutions/setapdf-formfiller/ in my projects. Works very fine but not freeware

converting a given file to PDF

hey all,
is there any way to convert a given file (this could be of any type) in to a pdf file in .net or php?
eg: suppose there is a upload link to upload your file of any type(word,excel,autocad,images..) and once the upload button is clicked the uploaded file should be converted into a pdf.
i checked out fpdf.but according to my knowledge all file types cannot be converted.a module to plugin to the CMS would also be fine.
FPDF does support images. I know because I have used it recently.
If you are wanting a pure PHP solution, you can use the PHP COM functions along with Word or Excel on the server to open up those files then copy the data out.
If I were you though, I would use Google. Load the doc into Google Docs then export it as a new format with the API.
There are a couple of 3rd party solutions available such as this one, which is optimised for use on the server and accessible from any web services capable environment, including .net. Supports loads of file types including MS-Office based documents.
Disclaimer, I worked on this product so consider me biased. Having said that, it works very well.

PDF generation in PHP 4.3.2 :(

I'm faced with having to generate some fairly basic PDFs on a server which is running php 4.3.2 unfortunately.
So that pretty much renders most things impossible such as google's domPDF etc.. PDFlib is not compiled in so I can't use any of that either.
Does anyone have any suggestions?
Thanks!
use this R&OS PDF Class to achieve this task.. This is fairly simple and light weight class and requires no module etc to be installed on the server.
You could try out DocRaptor.com, which is a webservice that will let you convert html to pdf.
I ended up using an older version of fpdf and HTML2PDF (from the link below.) It's certainly not ideal, but then neither is a 7 year old version of php.
http://www.macronimous.com/resources/Converting_HTML2PDF_using_PHP.asp
You didn't mention if you were generating these from scratch or from existing PDF data. pdftk is a handy PDF manipulation library. You can shell out to it from PHP.

Categories