convert .doc to .pdf on upload

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
php3ch0
Forum Contributor
Posts: 212
Joined: Sun Nov 13, 2005 7:35 am
Location: Folkestone, Kent, UK

convert .doc to .pdf on upload

Post by php3ch0 »

Does anyone know of an existing class that can convert a .doc file to .pdf on upload?

I have a client that produces a monthly newsletter in word and want it available for download from their website. I do not want people to rely on having MS Office installed to view it. Converting before upload is beyond the clients capabilities (apparently).

Any help much appricated.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: convert .doc to .pdf on upload

Post by Christopher »

There are many programs that will convert that you could run on the command line. What OS?
(#10850)
User avatar
liljester
Forum Contributor
Posts: 400
Joined: Tue May 20, 2003 4:49 pm

Re: convert .doc to .pdf on upload

Post by liljester »

Since the client creates the file in the first place, there is a MS download addon for Office that allows you to save as PDF. Would be much easier for them to "Save As" PDF then upload, I think.
User avatar
php3ch0
Forum Contributor
Posts: 212
Joined: Sun Nov 13, 2005 7:35 am
Location: Folkestone, Kent, UK

Re: convert .doc to .pdf on upload

Post by php3ch0 »

its on a linux server. will try to convince them to convert before upload see how that goes. thanks
Post Reply