imagegrabscreen

(no version information, might be only in CVS)

imagegrabscreen -- Captures the whole screen

Description

resource imagegrabscreen ( void )

Grabs a screenshot of the whole screen.

Return Values

Returns an image resource identifier on success, FALSE on failure.

Examples

Example 1. imagegrabscreen() example

This example demonstrates how to take a screenshot of the current screen and save it as a png image.

<?php
$im
= imagegrabscreen();
imagepng($im, "myscreenshot.png");
?>

Notes

Note: This function is only available on Windows.


Follow phpf1 on Twitter




F1 Site Family
AJAX F1
HTML F1
Java F1
JavaScript F1
PHP F1

Total time: 0.1368