Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想开发一个功能,用户可以上传他们的演示文件(* .ppt),上传后我们会将这些 ppt 转换为 pdf。
我正在尝试使用 unoconv,
unoconv -f pdf 演示文稿.ppt
通过命令它成功运行并将上传的(.ppt)文件转换为( .pdf)文件。
但是当我试图通过 php 脚本执行此操作时,它失败了。
执行(unoconv -f pdf 演示文稿.ppt);
请帮助,提前感谢您的回答。
谢谢阿图尔
尝试使用exec("unoconv -f pdf presentation.ppt");
exec("unoconv -f pdf presentation.ppt");