PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
captcadaver
Forum Newbie
Posts: 17 Joined: Fri Jul 17, 2009 11:12 pm
Post
by captcadaver » Thu Jul 30, 2009 9:19 pm
Is this possible? How would you go about doing this?
(EDIT: I meant, how can you code this into a web app?)
EDIT: I just removed something that was obviously possible.
Thanks!
Last edited by
captcadaver on Thu Jul 30, 2009 9:30 pm, edited 2 times in total.
phphat
Forum Newbie
Posts: 14 Joined: Sun Jul 26, 2009 5:25 pm
Post
by phphat » Thu Jul 30, 2009 9:24 pm
You would have to press the Print Screen button which is sometimes abbreviated on the keyboard as "PrntScn".
captcadaver
Forum Newbie
Posts: 17 Joined: Fri Jul 17, 2009 11:12 pm
Post
by captcadaver » Thu Jul 30, 2009 9:29 pm
Haha sorry, I didn't explain at all.
I meant, is it possible to code a print screen function for a web page? For example, you would give a URL and you'd get an image of it back.
jackpf
DevNet Resident
Posts: 2119 Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK
Post
by jackpf » Thu Jul 30, 2009 9:31 pm
I tried this once - unsuccessfully. I can't remember where I found the tutorial...I think it is possible though. But only on windows.
You basically have to use a COM object to open internet explorer and take a screenshot. I think that's how anyway...
Sorry I can't be more helpful ^^
diptanjan
Forum Newbie
Posts: 1 Joined: Fri Jul 31, 2009 2:06 am
Contact:
Post
by diptanjan » Fri Jul 31, 2009 2:22 am
Hi,
Definitely this is possible. Couple of years back we did something like this but I remember we used some third party tool, which used to generate thumbnail image of homepage of the site url provided. I am not sure if this can be achieved through Php alone.. I think no.
Regards
Diptanjan