Have a screen shot taken of a certain page in a specific time interval and stored on same server

353 views Asked by At

I currently have a php script which displays real time information and is updated whenever the page is refreshed ( it is automatically refreshed every 30 minutes ). Is there a php script or something server side which will have it screen shot the updated page and store it on the server?

I am using the latest version of apache on a Linux Centos Server.

Regards,

John

1

There are 1 answers

0
James On BEST ANSWER

Selenium has PHP bindings and can take a screenshot. It's very powerful but also requires some setup effort. Selenium uses an actual web browser to do its work, so the screenshot will accurately reflect HTML5 and other types of dynamic content.