You are here: Re: Take screen shot using PHP? « PHP Programming Language « IT news, forums, messages
Re: Take screen shot using PHP?

Posted by Dikkie Dik on 02/21/07 19:03

> Hello, I am interested in your solution. Can you tell me more abt
> this?

From my (test) site, I open a new window with JavaScript code. This
window has a simple form that allows the user to enter a remark. This
form also has a hidden field "ctlSnapshot".

Before submitting the form, I run the following script:

var strContent = window.opener.document.documentElement.innerHTML;
document.getElementById('ctlSnapshot').value = strContent;

That's it. The HTML of the current page of the test site is submitted
and stored along with the comment.

Best regards.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация