将word文档转化为HTML文件 visible = 1 ; $word->Documents->Open($wfilepath)or die("无法打开这个文件"); $htmlpath = substr($wfilepath,0,-4); $word->ActiveDocument->SaveAs($htmlpath,8); $word->quit(0); return $htmlpath; } $str1 = "test";$w="E:/AppServ/www/yougan/" . $str1 . ".doc"; $path = wordTohtml($w) . ".htm"; echo $path . "
";print( "Word转html完成!" );$str2 = $str1 . ".htm";echo "";?>
已抢65645个
抢已抢30605个
抢已抢16842个
抢已抢8548个
抢已抢11022个
抢已抢22766个
抢