PDA

View Full Version : RTF / DOC to PDF using PHP



subzerostudio
22 Feb 2007, 11:41 AM
Hi,

Does anyone know of a way to convert RTF or DOC files to a PDF via a server side scripting language?

For example - user uploads a file, clicks a button, it produces a PDF on the server and then outputs a PDF file?

Thank you

Mike

leo.bonnafe
05 Feb 2009, 07:04 AM
If you are using PHP, there is a library called phpLiveDocx, which does exactly what you want. Converting between word processing formats is a one-liner!

Find out more here:
http://www.phplivedocx.org/articles/brief-introduction-to-phplivedocx/

Leo