Screenshot of current page using PHP

后端 未结 7 1830
时光取名叫无心
时光取名叫无心 2020-12-12 04:45

Duplicate:

website screenshots using php

Is it possible to take a screenshot of the current page using PHP?

7条回答
  •  眼角桃花
    2020-12-12 04:45

    You could install webkit2png on your server and then execute webkit2png http://yourpage.example.com from your PHP script. That will give you a screenshot the way Webkit renders the page. For installing on Linux, see this.

提交回复
热议问题