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

exporting rtf to php

P: 44
hi friends
i have a little problem,i want to convert rtf to pdf so my question is there any way in php code i can do that.
Feb 22 '08 #1
Share this Question
Share on Google+
2 Replies


hsriat
Expert 100+
P: 1,654
hi friends
i have a little problem,i want to convert rtf to pdf so my question is there any way in php code i can do that.

I'm not sure about rtf, but you can generate PDF using this library.
Feb 22 '08 #2

P: 44
thanks

but this is not what i am looking for,what i do is i upload files to the rtf files to the server and when files gets into the server must be converted to pdf.
i did that with converting rtf to html but firstly i execute system command using unrtf.
code below
-------------
$target2 //is a path

$message=exec("unrtf-0.20.2/unrtf --html ".$target2.$oldname." > ".$target2.$newname."");
so this works very fine i want to do something of this nature.
Feb 22 '08 #3

Post your reply

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