PHP, SSH, grabbing remote screenshots

PHP, SSH, grabbing remote screenshots

Posted by: Nuwanda
Posted on: 2009-10-16 14:41:00

Hi, All

I need a way to programatically grab a screenshot from a url.

I've been doing some reading about linux command line utilities like xwd and xwininfo, but what I want is way to grab a screenshot via php, or run a script from php that will grab one.

Lots of sites seem to do this, www.dzone.com being a case in point.

Any suggestions?

Thanks.

Mos

Re: PHP, SSH, grabbing remote screenshots

Posted by: Atropos7
Posted on: 2009-10-16 15:57:00

In reply to:

I've been doing some reading about linux command line utilities like xwd and xwininfo, but what I want is way to grab a screenshot via php, or run a script from php that will grab one.

Lots of sites seem to do this, www.dzone.com being a case in point.


Do you have DreamHostPS ?



Customer since 2000 cool openvein.org

Re: PHP, SSH, grabbing remote screenshots

Posted by: Nuwanda
Posted on: 2009-10-16 16:04:00

No, just shared.

Re: PHP, SSH, grabbing remote screenshots

Posted by: sXi
Posted on: 2009-10-16 17:01:00

Might be an idea to outsource the job to a browsershots server somewhere.

Best results (flash handling mostly) are with Opera10/WinXP and IE8/WinXP screencaps.




How To Install PHP.INI / ionCube on DreamHost

Re: PHP, SSH, grabbing remote screenshots

Posted by: Nuwanda
Posted on: 2009-10-16 17:15:00

Yup, thumbshots.com has a $5 month service, but it kinda feels wrong for a developer to outsource something so trivial.

Re: PHP, SSH, grabbing remote screenshots

Posted by: sXi
Posted on: 2009-10-16 17:38:00

I'm not sure you can party with Xvfb on shared.




How To Install PHP.INI / ionCube on DreamHost

Tags: sshscreenshotlinux