Forum Moderators: coopster

Message Too Old, No Replies

WebPage Snapshot Using PHP

         

sufyaaan

11:19 am on Jul 26, 2005 (gmt 0)

10+ Year Member



Does anyone know how to take a website URL and show a snapshot thumbnail of the site without needing any installed components, just pure PHP?

The purpose is to show snapshots like ICQ Search does.

[google.icq.com...]

jatar_k

5:11 pm on Jul 26, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



>> without needing any installed components

I know there are scripts around that do it but I haven't really looked at them much, a few searches should find a couple.

sufyaaan

10:38 am on Jul 27, 2005 (gmt 0)

10+ Year Member



Can you tell me any links about such script in php?

jatar_k

5:16 pm on Jul 27, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I tried a bunch of searches and can't seem to find one but I know there are some around

anyone have any useful searches for some options?

sufyaaan

10:37 am on Jul 28, 2005 (gmt 0)

10+ Year Member



I finally got it! Try [phpclasses.org...] for making snapshots of URLs.

But I am having problem running the script to work and getting this error on this page:

examples_url_snapshot.class.php

Errors:

Notice: Undefined variable: data in c:\Inetpub\wwwroot\examples_url_snapshot.class.php on line 5

Notice: Undefined variable: data in c:\Inetpub\wwwroot\examples_url_snapshot.class.php on line 6

Notice: Undefined variable: filename in c:\Inetpub\wwwroot\snapshot.class.php on line 86

Fatal error: Call to undefined function ImageCreateFromJPEG() in c:\Inetpub\wwwroot\snapshot.class.php on line 120

---------------------------------------

Can anyone here help me about it?

jatar_k

3:30 pm on Jul 28, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



take a look at this page to help you find out if you have GD properly enabled

[php.net...]