RE: [PHP] Create a screenshot of a website
| From: | Ashley Sheridan | Date: | Thu, 22 Oct 2009 14:22:13 +0000 |
| Subject: | RE: [PHP] Create a screenshot of a website | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299202@lists.php.net to get a copy of this message | ||
On Thu, 2009-10-22 at 16:17 +0200, Andrea Giammarchi wrote:
> Rob, I agree, but you are suggesting is khtml2png which is cool, perfect, fantastic, but
> it's not PHP, isn't it?
>
> You ask me: I want a snap via PHP
> I reply: well, I don't think such thing exists: a render engine entirely written in PHP
> and GD2
>
> Maybe we should create one ...
>
> Regards
>
> > Date: Thu, 22 Oct 2009 09:40:47 -0400
> > From: robert@interjinn.com
> > To: an_red@hotmail.com
> > CC: reseasoul@gmail.com; php-general@lists.php.net
> > Subject: Re: [PHP] Create a screenshot of a website
> >
> > Andrea Giammarchi wrote:
> > > What you see is what a browser engine renders for your eyes while what you can do
> > > with PHP is a snapshot of the source code.
> >
> > One should remember that PHP serves quite well both as a glue language
> > and as a wrapper language. There is no reason why you can't use PHP to
> > create a simple lib around something like khtml2png so that the
> > screenshot can be gathered on demand using simple PHP style function calls.
> >
> > Cheers,
> > Rob.
> > --
> > http://www.interjinn.com
> > Application and Templating Framework for PHP
>
> _________________________________________________________________
> Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
>
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
GD is just a library that PHP uses, in a similar way that you'd be
utilising what khtml2png can do through PHP. What you just said doesn't
make much sense.
Thanks,
Ash
http://www.ashleysheridan.co.uk