<?php
GdImage|false imagegrabscreen ()
?>
<?php
echo 'PHP VERSION: ' . PHP_VERSION . '<br><br>';
$grabscrenn = 'jpeg/JPEG 041 01.jpg';
$rsr = imagegrabscreen();
$yn = imagejpeg($rsr, $grabscrenn, 90);
if($yn == TRUE)
{
echo '<img src="' . $grabscrenn . '" alt="' . $grabscrenn . '">';
}
else
{
echo 'The image was not created as expected.<br><br>';
}
?>