I am working with Internet Information Service (IIS 6.1) and PHP 5.2. I want to screen capture IIS server desktop using PHP on Windows 8. I have searched the Internet and stackoverflow for similar questions, but they almost always deal with Apache Web server. To make this work with Apache, they basically tell the poster to enable, Allow this service to interact with the desktop
option within its properties. For my IIS, I did find this option in IIS Admin Service running on Windows 7 not Windows 8, but I am not certain. Is this where you enable this option or else where for IIS to execute the following PHP script successfully?
Following code works, but all I see is black image for a screen shot.
<?php
$im = imagegrabscreen();
imagepng($im, "myscreenshot.png");
imagedestroy($im);
?>
UPDATE: My IIS server is actually running on Windows 8. I just looked through the Services list and I did not find IIS Admin manager running, but on Windows 7 I do see it running.