Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-12-2013, 11:16 AM   PM User | #1
shanil
New Coder

 
Join Date: Mar 2011
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
shanil has a little shameless behaviour in the past
Website screenshot using php script

Hi All,

I would like to take the screenshot of the website page using a php script. What I'm expecting is a command where I can provide the URL, and it will create a screenshot in png or jpg format.

f.e php takescreenshot.php <url> <output_file> .

If anyone knows please help me.

Thanks in advance
shanil is offline   Reply With Quote
Old 01-12-2013, 12:29 PM   PM User | #2
adolek17
New to the CF scene

 
Join Date: Dec 2011
Location: Bełchatów, Poland
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
adolek17 is an unknown quantity at this point
http://www.php.net/manual/en/functio...grabscreen.php

http://www.php.net/manual/en/functio...grabwindow.php
adolek17 is offline   Reply With Quote
Old 01-14-2013, 06:54 AM   PM User | #3
shanil
New Coder

 
Join Date: Mar 2011
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
shanil has a little shameless behaviour in the past
Hi adolek17,

Thank you for your reply.

Is there any other way to take the screen shot using php in Linux ?

Last edited by shanil; 01-14-2013 at 06:57 AM..
shanil is offline   Reply With Quote
Reply

Bookmarks

Tags
meta

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:41 AM.


Advertisement
Log in to turn off these ads.