Parsing word document using PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mohammedsk
    New Member
    • Dec 2006
    • 7

    Parsing word document using PHP

    Can somebody please give me a hint on how to parse a word document using PHP and print out the lines.

    I know that I can use shell_exec and catdoc, but my host does not support the function catdoc.

    Or if there is another way to convert a document file to a text file.

    Thanks,
  • cassbiz
    New Member
    • Oct 2006
    • 202

    #2
    Take a look at this PHP Class



    This may help you with your word docs

    Comment

    • vssp
      Contributor
      • Jul 2006
      • 268

      #3
      Hi

      This class file only using php 5 if any possible to convert the files php4

      Thanks
      vssp

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        At that same site, package MS Files converter is PHP4 and can convert .doc to .txt or .html. Caveat: it needs MS Word to run.

        Ronald :cool:

        Comment

        Working...