Jump to content

Recommended Posts

i want to do a screen capture/scrape of a page, resulting in a JPG or PNG that i could save in a dir of my choice. This capture needs to take place a few seconds after the page loads, to allow all JavaScript and Flash elements on page to load.

 

It would be great if i could also/just target a specific JS or Flash element to grab, instead of the whole page. There has to be some great PHP solutions for this.

 

Thanks, Cesar

Link to comment
https://forums.phpfreaks.com/topic/64206-screen-capture/
Share on other sites

there has to be some type of server-side scripts and modules that can render a page server-side.

 

sitevista.com does it... why cant I?

 

i have to be able to load a page in the background. possibly load it into cache first. HTML to PDF conversion scripts do it... sorta somewhat.

 

thanks for the reply

Link to comment
https://forums.phpfreaks.com/topic/64206-screen-capture/#findComment-320111
Share on other sites

there has to be some type of server-side scripts and modules that can render a page server-side.

 

sitevista.com does it... why cant I?

 

Bascially the problem is how the screen shot is taken, ie from IE/Firefox etc.. Mac or PC or *nix..

if you have some software on the server to goto that site using the defind browser then yes you could do it but that feature is not in PHP/Apache yes theirs probably software that will do it, infact if your running a windows sever then a simple VB app that accepts connections on another port and dumps the image to a apache folder could be written in a short time.. but then your need to have access to that sever to install and setup the software..

 

so you CAN do it but is it worth it ?

 

If you want to use this then browsercam.com have done just that..

 

I hope this helps

Link to comment
https://forums.phpfreaks.com/topic/64206-screen-capture/#findComment-320164
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.