Capture screenshot image entire page
How to capture screenshot image entire page using php?
Well, first you'll need to find some software that will render the page into an image on the server side, since PHP itself is not a web browser. Alternatively, there are some services (probably not free) that you can use via their API to get a screenshot based on a URL, though performance may be an issue since you'd have to wait for the image to be returned across the 'net.
Well..Screengrab! saves webpages as images... but not for new versions of Firefox.
it is possible, to capture a website with PHP singularly.
imagegrabscreen — Captures the whole screen.
Below is the example code to take a screenshot of the current screen and save it as a png image:
$im = imagegrabscreen();
Hope this helps.
Note that (a) this is only available on Windows, and (b) probably not much use if running it on a web server, where the primary display is most likely not a web browser showing the web page of interest.
Originally Posted by priyankagound
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)