exporting rtf to php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ogo796
    New Member
    • Jan 2008
    • 44

    exporting rtf to php

    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.
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Originally posted by ogo796
    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.

    Comment

    • ogo796
      New Member
      • Jan 2008
      • 44

      #3
      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.$old name." > ".$target2.$new name."");
      so this works very fine i want to do something of this nature.

      Comment

      Working...