Eddie
Eddie

Reputation: 146

Convert to PDF using PHP

I need a simple solution for an issues I'm having. I have an application that allows to upload a document (mostly will be excel files but can be .docx/.doc)

I also am using jsignature to "esign" the document and save that to an image, and all that is working fine.

What I need is a way to convert the uploaded document to PDF, and then merge that with the newly created signature image. Thoughts?

Upvotes: 0

Views: 840

Answers (1)

Nathaniel Johnson
Nathaniel Johnson

Reputation: 623

Fpdf and Fpdi are good PHP plugins to deal with reading/writing PDFs.

I've only ever done the uploading and signing of PDFs but there is probably some way to utilize one of those tools to work with doc/docx files.

http://www.setasign.de/products/pdf-php-solutions/fpdi/
http://www.fpdf.org

Upvotes: 1

Related Questions