我用php + FlashPaper 转doc格式为swf格式可以,但是转docx为swf格式却不行。
下面是php代码
<?php
class test
{
public function doit($oldfile,$newfile)
{
$command = "c:/FlashPrinter.bat $newfile $oldfile";
//echo $command;
exec($command);
}
}
$ss = new test();
$newfile = "C:/b.swf";
$oldfile = "C:/b.docx";
echo $oldfile.time();
$ss->doit($oldfile,$newfile);
?>
下面是FlashPrinter.bat的命令
"C:/flashPaper2/FlashPrinter.exe" -o %1 %2
如何利用php + FlashPaper将转docx格式为swf格式
最新推荐文章于 2021-03-11 11:02:30 发布