By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,441 Members | 998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,441 IT Pros & Developers. It's quick & easy.

convert rtf files to html using PHP

P: 10
Hi Everyone!

I am building a site where users upload files in rtf format. The problem is I want to implement a script to automatically convert this rtf files to html files and build a links page with all this files, so when a user clicks on the link the file should open up in an html format.

Can anyone please help. Thanks in advance.
Dec 20 '07 #1
Share this Question
Share on Google+
3 Replies


code green
Expert 100+
P: 1,726
Sure. What are you stuck on?
Dec 20 '07 #2

P: 10
Sure. What are you stuck on?
I am kind of new to PHP. So what I need help with is the PHP code to immediately convert the rtf file to html. I don't want to use a third party sotware to convert this files manually, or open the the files one-by-one after a couple of hours they have been uploaded.
Dec 20 '07 #3

code green
Expert 100+
P: 1,726
This is quite a lot of work.
I would try to implement a ready written class.
A quick Google found this
http://www.phpclasses.org/browse/package/1930.html
I don't know if this is the best and I am sure there are others
Dec 20 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.