Get a screenshot of a page
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/757675/website-screenshots-using-php">Website screenshots using PHP</a>  </p>
</blockquote>



<p>I have an application where people watch a stream of content (a video stream) and need to click a button each time something happens (suppose they see a red light).</p>

<p>I want to somehow screenshot the stream at the moment where the user clicks the button.
The problem is that the stream is not mine and I am using an IFrame to another page with the stream. The stream is a flash object.</p>

<p>I need to screenshot the page at the moment of click with the flash content using PHP/Javascript and save it on the server.</p>

<p>I saw something that seems similar to what I need but the solution is using C# and .NET.
<a href="http://stackoverflow.com/questions/1981670/programmatically-get-screenshot-of-page">Programmatically get screenshot of page</a></p>

<p>EDIT:
Idea, if anyone can explain it best here, how could I do that using a plugin/java applet or something that the user might install when entering the site. (The easier the better).</p>
