is it possible to have a cgi or asp script of some sort that would start a program on a web server e.g. when somone goes to http://myserver.com/cgi-bin/script.pl it starts an exe program thats already on the server.
thanks for your time
Printable View
is it possible to have a cgi or asp script of some sort that would start a program on a web server e.g. when somone goes to http://myserver.com/cgi-bin/script.pl it starts an exe program thats already on the server.
thanks for your time
Perl has the system() function.
Under Windows you could use the ShellExecute or CreateProcess API calls in your cgi app.
ok well i hate to be a pain but could you give me an example? i dont know much about anything, could you like do the code for me i doubt its that hard the script only needs to be able to activate one program and the script desnt really need to do anything else,
if you could do this i'd be extremely thankful,
Nick
Uh, if you're using Perl it comes with really good documentation on everything.
Code:system("Notepad.exe");