Website screenshots

前端 未结 26 4124
长发绾君心
长发绾君心 2020-11-21 06:07

Is there any way of taking a screenshot of a website in PHP, then saving it to a file?

26条回答
  •  天命终不由人
    2020-11-21 06:51

    Yes. You will need some things tho:

    See khtmld(aemon) on *nx. See Url2Jpg for Windows but since it is dotNet app you should also chek Url2Bmp

    Both are console tools that u can utilise from your web app to get the screenshot.

    There are also web services that offer it. Check this out for example.

    Edit:

    This link is useful to.

提交回复
热议问题