如题 

解决方案 »

  1.   

    <?php
    $word = new COM("word.application") or die ("Could not initialise MS Word object.");
    $word->Documents->Open(realpath("Sample.doc"));// Extract content.
    $content = (string) $word->ActiveDocument->Content;echo $content;$word->ActiveDocument->Close(false);$word->Quit();
    $word = null;
    unset($word);
    ?>
      

  2.   

    用FlexPaper +swftools 就可以,我最近在搞这个
      

  3.   

    用1楼的方法,就可以,但服务器上要装OFFICE2007或以上版本,又或者装OFFICE2003+微软的2007兼容包,就可以了,我两种方法都能成功读取DOCX!