Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
resea soul wrote: Hi, I want to be able to get a screenshot of a given website on the fly. Can you give me any suggestions. http://sourceforge.net/projects/khtml2png/ It might already be in your favourite Linux distro's repositories also. Cheers, Rob. -- http://www.interjinn.com Application

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Andrea Giammarchi
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. Regards Date: Thu, 22 Oct 2009 09:28:15 -0400 From: reseas...@gmail.com To: php-general@lists.php.net Subject: [PHP] Create a screenshot of a website Hi, I

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
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

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
resea soul wrote: Thanks, I checked the faq of their website. They say that I must have an an X session. I don't host myself my website. I want something that I can use only by using cpanel. What i want basically is allow the user to enter the url of a website. And the script must give him

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Andrea Giammarchi
: Thu, 22 Oct 2009 09:40:47 -0400 From: rob...@interjinn.com To: an_...@hotmail.com CC: reseas...@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

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Andrea Giammarchi
Thanks, I checked the faq of their website. They say that I must have an an X session. I don't host myself my website. I want something that I can use only by using cpanel. What i want basically is allow the user to enter the url of a website. And the script must give him the

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Ashley Sheridan
in PHP and GD2 Maybe we should create one ... Regards Date: Thu, 22 Oct 2009 09:40:47 -0400 From: rob...@interjinn.com To: an_...@hotmail.com CC: reseas...@gmail.com; php-general@lists.php.net Subject: Re: [PHP] Create a screenshot of a website Andrea Giammarchi wrote

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Andrea Giammarchi
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. except I cannot find anything in both php.net and pecl websites Regards

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
Andrea Giammarchi wrote: Thanks, I checked the faq of their website. They say that I must have an an X session. I don't host myself my website. I want something that I can use only by using cpanel. What i want basically is allow the user to enter the url of a website. And the script must

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
Andrea Giammarchi wrote: Thanks, I checked the faq of their website. They say that I must have an an X session. I don't host myself my website. I want something that I can use only by using cpanel. What i want basically is allow the user to enter the url of a website. And the script must

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Jason
-Original Message- From: resea soul [mailto:reseas...@gmail.com] Sent: 22 October 2009 14:28 To: php-general@lists.php.net Subject: [PHP] Create a screenshot of a website Hi, I want to be able to get a screenshot of a given website on the fly. Can you give me any suggestions. Thank you

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Andrea Giammarchi
I see you are being rather obtuse :| I use system/shell calls without problems if there is the lib I need. The problem here is that the question was, in my opinion, the classic: how to assign javascript var to php (directly) Indeed he is trying to find a PHP solution, of course with third

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
Andrea Giammarchi wrote: I see you are being rather obtuse :| I use system/shell calls without problems if there is the lib I need. The problem here is that the question was, in my opinion, the classic: how to assign javascript var to php (directly) Indeed he is trying to find a PHP

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Andrea Giammarchi
Given the knowledge (or extremely likely probability) of the non-existence of a PHP only solution for generating website thumbnails it follows that my suggestion was absolutely applicable. I have never said the opposite ... I have just said: pure PHP with standard core

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Andrea Giammarchi
Hi, If a windows web server is being used, we've had very good results with the activex control (use via COM within PHP5) from http://www.acasystems.com/en/web-thumb-activex/ The developer is very responsive to bug reports / feature suggestions. Full PHP example code is given for all

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Ashley Sheridan
On Thu, 2009-10-22 at 17:33 +0200, Andrea Giammarchi wrote: Hi, If a windows web server is being used, we've had very good results with the activex control (use via COM within PHP5) from http://www.acasystems.com/en/web-thumb-activex/ The developer is very responsive to bug

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
Andrea Giammarchi wrote: Given the knowledge (or extremely likely probability) of the non-existence of a PHP only solution for generating website thumbnails it follows that my suggestion was absolutely applicable. I have never said the opposite ... I have just said: pure PHP with standard

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
Andrea Giammarchi wrote: Hi, If a windows web server is being used, we've had very good results with the activex control (use via COM within PHP5) from http://www.acasystems.com/en/web-thumb-activex/ The developer is very responsive to bug reports / feature suggestions. Full PHP example

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Jason
-Original Message- From: Andrea Giammarchi [mailto:an_...@hotmail.com] Sent: 22 October 2009 16:34 To: networkad...@emarket2.com; php-general@lists.php.net Subject: RE: [PHP] Create a screenshot of a website Hi, If a windows web server is being used, we've had very good results

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Robert Cummings
Jason wrote: -Original Message- From: Andrea Giammarchi [mailto:an_...@hotmail.com] Sent: 22 October 2009 16:34 To: networkad...@emarket2.com; php-general@lists.php.net Subject: RE: [PHP] Create a screenshot of a website Hi, If a windows web server is being used, we've had very

Re: [PHP] Create a screenshot of a website

2009-10-22 Thread Kim Madsen
resea soul wrote on 2009-10-22 15:28: Hi, I want to be able to get a screenshot of a given website on the fly. Can you give me any suggestions. Do you mean I wanna make a screendump of _my_ website? Then this is for you: http://dk2.php.net/manual/en/function.imagegrabscreen.php - It works