时空行者

  1. 首页
  2. Linux
  3. 正文

网页转PDF文件

2024年3月29日 1743点热度
服务器需要安装wkhtmltopdf,
$str = 'xvfb-run --server-args="-screen 0, 1024x768x28" wkhtmltopdf http://xyz..com/test.html  test.pdf 2>&1';
exec($str, $out, $code);
标签: 暂无
最后更新:2024年3月29日

peakswill

这个人很懒,什么都没留下

点赞
< 上一篇

COPYRIGHT © 2025 时空行者. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

皖ICP备16014035号-3