php:读取http网址并将其写入pdf [英] php: read an http url and write it to pdf

查看:82
本文介绍了php:读取http网址并将其写入pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用php

我想阅读 http://www.cnn.com

创建一个新的pdf并存储到服务器

create a new pdf and store to the server

推荐答案

尝试以下操作: http://code.google.com/p/wkhtmltopdf/.它是开源的,并且似乎基于WebKit引擎,该引擎已在当今许多浏览器(Chrome,Safari,iOS,Android)中使用.它还具有 PHP绑定

Try this: http://code.google.com/p/wkhtmltopdf/. It's open source, and seems to be based on the WebKit engine, which is used in many browsers today (Chrome, Safari, iOS, Android). It also has PHP bindings!

以下是指向GitHub页面的链接: https://github.com/mreiferson/php-wkhtmltox .

Here's the link to the GitHub page: https://github.com/mreiferson/php-wkhtmltox.

这篇关于php:读取http网址并将其写入pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆