Remote Program Launch Via html wesite.

Elite Diviner
Joined
Oct 10, 2005
Messages
453
Reaction score
0
Location
NYC
Is there a way to set up a website... that will remote launch a program within the html directory.
Ie : My private webserver at home... i go to my site click start ... and it will launch the app.

How would someone go about doing this... Possible?
 
i dont really know about this but if u could perform such user dependant actions by a website script...rare too rare, it would be like
" ehh this site has just launched ur format c: enjoy".

i think that kind of remote admin needs a server and a client, a script can work as client( with sockets and that stuff).
 
Last edited:
I was just wondering how many hsting company set up remote admins such as things for ventrilo was interested in doing same thing out of my basement
^_^. but i wanted to keep it simple.... ie : turn application on and off / restart not much else.
 
Ofcourse not, all he'd need is a selection of programs he wants to run, an authentication method and some buttons that fire it up.

If you want to run a certain program, its easiest if you put it in your path variable. Google this. Then you can launch it with exec('name_of_program.exe');

Do note that PHP scripts tend to wait for any scripts to finish before continueing and if you're not carefull this might crash your webserver. Read the manual before proceeding.

Closing a program goes much the same way, simply execute either taskkill 'name_of_program.exe' or tskill 'name_of_program'. More info can, again, be found googling.

The manual for pskill can be found here btw.
 
Last edited:
Hmm. Now that is Interesting... you see security is not of any concern to me for the purpose of which i intend.

Im planing on trying to host say a Small chat server type app over a free wb server type... ie : i need this to lanuch the server on a machine i do not have access to ... but that i do have a directory on and html/php ability.

I thnk this is perfectly legal so long as 20000 people dont connect and anyways its more of an experiment.

Im trying to get a very simple on off control panel going.

Maybe i found what im looking for thnks all ^_^
 
Last edited:
PHP can do that easily. I suggest you check out this video I made this afternoon on Fai's music control capabilities. The commands are send to a server on which PHP runs, that server then launches a remote control application to connect to my workstation and fires up a small program I wrote that controls winamp. I can now actually decrease volume, go to the next song, etc by simply telling my AI to do so.

PHP has long ago ceased to amaze me with its unlimited capabilities :icon6:
 
^_^ i know its amazing too bad i have so little time to learn it on the side...
I found a couple of templates for control panel type stuff il prob be able to work it out.... ty just needed the push in right direction.
 
Back