Forum Moderators: coopster
I'm really not sure where to even begin looking for the answer to this so I'm hoping someone can steer me in the right direction.
Is there a way I can put a PHP script on the local screenshot server to log in as the user and issue the correct commands and then query that remotely?
Thanks for any help you can provide...
welcome to webmaster world.
you can use php to execute other programms and you can even use it to be a script on the desktop or within the cli. please checkout the basic in the php manual because it differs from cgi or sapi usage.
anyway with the according userrights you should be able to do everything you want ;), but you need to know the commands to take the screenshot etc. .
if you want to write a client application that interacts with a server process via tcp/ip or udp, php might not be the weapon of choice.
Right now I have user "frenetic" who, when logged in, can run a script that takes a screenshot. Some of this is dependant on software that's installed in his account.
Can I have PHP run as the frenetic user and execute the necessary script?
Oh and if there's a better option than PHP I'd be happy to hear it. Though it seems like all I really want to do is trigger this script from a remote server and PHP would be up to that task were it not for it being an application that requires the desktop.