Guest kilbad Posted March 20, 2007 Share Posted March 20, 2007 With PHP is there a way to take a screen shot of a server's computer screen, like one would get if he or she used the print screen key, and then save it somewhere on the server? Link to comment https://forums.phpfreaks.com/topic/43419-solved-is-a-there-a-way-to-take-a-screenshot/ Share on other sites More sharing options...
brad Posted March 20, 2007 Share Posted March 20, 2007 not only does this request raise morality issues it's not something that is even possible with PHP, as PHP is server side and could not 'see' past the limits of the server it is on. PHP just outputs code to Apache which then is displayed in the client's browser. (i'm veryyyy tired). Link to comment https://forums.phpfreaks.com/topic/43419-solved-is-a-there-a-way-to-take-a-screenshot/#findComment-210874 Share on other sites More sharing options...
Psycho Posted March 20, 2007 Share Posted March 20, 2007 not only does this request raise morality issues it's not something that is even possible with PHP, as PHP is server side and could not 'see' past the limits of the server it is on. PHP just outputs code to Apache which then is displayed in the client's browser. (i'm veryyyy tired). The OP did state that he was talking about having a screen shot of the server's screen - not the user's screen. Anyway, it *could* be possible with the addition of a 3rd party app that allows screen captures with command line input. I say could, because it would also depend upon which "space" the web server is operating in. Usually the web server is running as a service and not in a user's loggen in space. Even if it were, the server would usually be running in screen saver mode and there would be no desktop to take a screenshot of. Link to comment https://forums.phpfreaks.com/topic/43419-solved-is-a-there-a-way-to-take-a-screenshot/#findComment-210878 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.