ThomasJSmart
Programmer
- Sep 16, 2002
- 634
Was wondering if there is a way to launch a browser on a webserver in a virtual desktop and make a print screen?
my goal is to launch this process from php exec to get back a jpg printscreen of a given web page.
<?PHP
exec('/opt/media/grabimg -url -output /home/account/public_html/images/print1.jpg');
echo '<img src="images/print1.jpg" alt="" />';
?>
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!
my goal is to launch this process from php exec to get back a jpg printscreen of a given web page.
<?PHP
exec('/opt/media/grabimg -url -output /home/account/public_html/images/print1.jpg');
echo '<img src="images/print1.jpg" alt="" />';
?>
I learned a bit yesterday, today i learned a lot, imagine what i'll learn tomorrow!