![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2003
Location: In EXXXT's pocket! I love my idol Whee
Posts: 671
|
PHP question
Say, when I hit "print screen" and thereby make a screen dump to memory. Is there a php function or something tricky if I want this to be dumped to a file? lets say a .jpg file ?
In other words, I need something to dump the screen to a .jpg file using php. Anyone? ![]()
__________________
FREE GALLERY RETURN TRAFFIC New better system for all TGP owners! Use your own sponsor codes! Traffic in return for listing quality galleries, RATIO 1:12 ! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Dec 2003
Location: Canada
Posts: 2,000
|
Never heard of anything like this, and doubt it is possible.
You might be able to write something using GD though- just look into GD and see if there is a function to dump printscreen into an object. ![]() Good luck |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2004
Location: Ohio, US
Posts: 662
|
php is not the language for this, it does not even have access to the clients screen, it is executed server side, and is processed before the response is sent to the client (eg: preprocessed) maybe with hahahahahahahahahaha, vbscript, or activeX this would be possible.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
lol, if anyone finds a php script that can take screenshots, let me know
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2004
Location: If i was up your ass you'd know
Posts: 3,695
|
< ?php
DoWhile (headup_ass){ open photoshop(newfile); if (!fingers_around_cock){ rightclick(mouse_button); paste; } } ? > |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
So Fucking Banned
Join Date: Dec 2003
Location: Canada
Posts: 2,000
|
Quote:
BEST POST EVER. Congratulations on making me laugh my ass off. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Feb 2004
Posts: 3,004
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
So Fucking Banned
Join Date: Dec 2003
Location: Canada
Posts: 2,000
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Feb 2004
Posts: 3,505
|
It is *possible*. Think PHP module.
But I'm not going to help a queer. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Jan 2002
Location: Sydney, Australia
Posts: 402
|
Its possible... Look on the imagemagick forums. You dump to a pdf doc then convert to jpg. Also if you have a GUI on linux then MUCH easier.
__________________
Video Ipod Porn Site with Affiliate Program. http://www.podies.com Free 1:1 Adult Webmaster Banner Exchange. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Mar 2003
Location: NJ
Posts: 219
|
on a linux server i think there is a screen command to snap a shot of something.
you can do it command line based in conjunction with netscape i think for screen shots of sites |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Programming King Pin
Industry Role:
Join Date: Oct 2003
Location: Montreal
Posts: 27,360
|
Why you want it in PHP ? There's alot of program written in C who can do this.. take a look @ Google!
![]()
__________________
UUGallery Builder - automated photo/video gallery plugin for Wordpress! ![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Registered User
Industry Role:
Join Date: Mar 2002
Location: San Diego, CA
Posts: 935
|
Somebody said this before - PHP is *SERVER* side scripting. It's never going to be able to take a screenshot of a client.. DUH!
Java or ActiveX is the place to look - or if you're running a local client, any language (because you can tap into the Windows function calls). |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: May 2002
Location: Toronto, Canada
Posts: 5,599
|
you can get software which controls the "print screen" button and you can remap the button to the PHP binary.
Im not sure about how the data is passed back from windows but i would think that you should be able to pipe the data sent back (i believe it is natively in BMP format) into PHP, probably reading from STDIN. Also, i would suppose the OS could make a difference as well but im assuming you're running on windoze which is what the above is for ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: Apr 2003
Location: In EXXXT's pocket! I love my idol Whee
Posts: 671
|
Guys and Gals, thanks for the answers. Even the dude refusing to help Queers, even this is only a nick. LOL
Say, I think I'd need to rephrase the Q. Php isnt really the issue here, I only need a tool or IE plugin whatever, that can save me the content of the memory from a screen dump into a .JPG file... Locally. Meaning, when I screen dump into memory, I can by html (php/j-avascript etc.) save this memory to file. I havent been able to find material for this yet! Thanks all! ![]()
__________________
FREE GALLERY RETURN TRAFFIC New better system for all TGP owners! Use your own sponsor codes! Traffic in return for listing quality galleries, RATIO 1:12 ! |
![]() |
![]() ![]() ![]() ![]() ![]() |