title: When I Take a Screen Shot of my Server with PHP exec() it returns all black
body: <p>ok I used a COmmandLine tool called <a href="http://www.ducklink.com/free-command-line-screen-capture.php" rel="nofollow">cmdCapture</a> then ran the following Code in a PHP Script</p>
  
  <pre><code>exec('cmdCapture.exe /f "lol.jpg"');
  </code></pre>
  
  <p>everything looks fine.It generate a file callled lol.jpg. it outputs the filename etc etc but upon examining the lol.jpg file , its all black. If i run the Same command from windows commandline it works perfectly. Just not from inside PHP. any Ideas? 
  (Running: Latest Apache &amp; PHP on Windows 7)</p>