PHP, SSH, grabbing remote screenshots

software development

#1

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


#2

[quote]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.[/quote]
Do you have DreamHostPS ?

Customer since 2000 :cool: openvein.org


#3

No, just shared.


#4

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.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#5

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


#6

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost