![]() |
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? :) |
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 |
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.
|
lol, if anyone finds a php script that can take screenshots, let me know
|
< ?php
DoWhile (headup_ass){ open photoshop(newfile); if (!fingers_around_cock){ rightclick(mouse_button); paste; } } ? > |
Quote:
BEST POST EVER. Congratulations on making me laugh my ass off. |
Quote:
|
Quote:
|
It is *possible*. Think PHP module.
But I'm not going to help a queer.:1orglaugh |
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.
|
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 |
Why you want it in PHP ? There's alot of program written in C who can do this.. take a look @ Google! :thumbsup
|
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). |
Quote:
|
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 :) |
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! :thumbsup |
| All times are GMT -7. The time now is 04:27 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123