Welcome to WebmasterWorld Guest from 54.166.158.73

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

php image capture

capturing an image from a php page

     
6:24 pm on Dec 1, 2002 (gmt 0)

New User

10+ Year Member

joined:Nov 25, 2002
posts:5
votes: 0


What I'm wanting to do is to take a snapshot of one of my php pages using server side script, and I've been searching the php manual with no luck.

I've found plenty of information about resizing/manipulating images with php, but nothing that I've seen about actually creating one from a php (or html) page.

Is this possible, and does anyone have an idea how to do this if it is?

Thanks.

7:07 pm on Dec 1, 2002 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15756
votes: 0


Welcome to WebmasterWorld [webmasterworld.com] Vael27

I really have no idea, I looked through the Image Functions [php.net] but couldn't really think of anything.

So, you want a script that will get the client side output of a scripted page and screenshot it? Want to share a little more about why?

That way maybe we could think up alternatives.

7:26 pm on Dec 1, 2002 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Mar 31, 2002
posts:7575
votes: 0


Welcome to WebmasterWorld!

By snapshot do you mean a visual snapshot as in what a browser sees - what I would see if I called the page or do you mean the code that is handed to a browser?

8:04 pm on Dec 1, 2002 (gmt 0)

New User

10+ Year Member

joined:Nov 25, 2002
posts:5
votes: 0


Thanks for the welcome. I hope this screwy sounding request doesn't brand me forever ;) I'm relatively new to php.

Yes I mean the client side, after the php has been parsed.

But, what I'm trying to do is this: I have an rss feed (symantec virus alerts) on my site. I'm trying to link this feed to my web forum (phpBB), but it posts each virus as a separate post. I don't want 10 new posts with one virus each, so what I was hoping to do is create a snapshot of the updated rss feed, and then simply post the image in the forum. With a daily snapshot, it would update itself without me having to do anything else.

There has to be an easier way to do this. It sounds screwy even as I try to describe it. I think I may have to go into the rss parser file on the web board and change the code.

8:28 pm on Dec 1, 2002 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15756
votes: 0


I have a general understanding, but I may not be 100%.

What about having a way that each day they all go into the same thread? (again I may be way off). Then you have a daily thread that has all of the alerts from that day?

10:33 pm on Dec 1, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 22, 2002
posts:1782
votes: 0


I believe there is a mozilla project that is using the gecko rendering engine to produce screen shots like that from various languages. Last time I checked it was all very alpha level code.

However, I donīt think you should use a screen shot to solve your problem. Parsing the RSS feed and adding it to the forum will be far better.

Andreas

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members