php操作word,excel,具体怎么操作呀? php操作word,excel,具体怎么操作呀? unix系统的服务器可以操作word,excel吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 COM,在安装了OFFICE的WINDOWS下。 哦,必须要先安装OFFICE吗? 那在unix系统下可以吗 能告诉我下,具体怎么操作excel吗,或者给个简单的例子呀 phpexcel 搜索一下,这个操作excel很强,没有环境限制简单例子http://www.ityizhan.com/phpexcel-write-and-read-excel-examples/http://www.111cn.net/phper/21/0f2be0707f8785fb8e715f22bdc43c8a.htm下载Phpexcelhttp://phpexcel.codeplex.com/ <?/*** @desc PHP读取Word文档**/$word = new COM("word.application") or die ("Could not initialise MS Word object.");$word->Documents->Open(realpath("asd.doc"));// Extract content.$content = (string) $word->ActiveDocument->Content;echo $content; $word->ActiveDocument->Close(false);$word->Quit();$word = null;unset($word); ?> pear里有个excel类excel-reader php格式化IPv6 如何判断一个字符串是否在一个二维数组中 怎么实现对TXT文本文件的对比!? 如何让PHP在Linux下定时运行,或者以后台进程的方式运行 请问谁知道网络超市中如何实现网上银行汇款交费? 求救,用GD库生成图片的时候,颜色失真 为什么在class里面要var一些变量? 高分求救:如何才能让某字段取出的内容当做字段一样显示 真是急死人了,怎样在js里调用PHP的结果呢? 关于锁定的问题!! 怎么实现PHP代码和html代码100%分离 这个符号$street_id && $rs[]什么意思的呢
http://www.ityizhan.com/phpexcel-write-and-read-excel-examples/
http://www.111cn.net/phper/21/0f2be0707f8785fb8e715f22bdc43c8a.htm下载Phpexcel
http://phpexcel.codeplex.com/
<?
/**
* @desc PHP读取Word文档
*
*/
$word = new COM("word.application") or die ("Could not initialise MS Word object.");
$word->Documents->Open(realpath("asd.doc"));// Extract content.
$content = (string) $word->ActiveDocument->Content;echo $content;
$word->ActiveDocument->Close(false);$word->Quit();
$word = null;
unset($word);
?>
excel-reader