Re: [Hampshire] Launching a command from the web

Page principale

Répondre à ce message
Auteur: Vic
Date:  
À: hampshire
Sujet: Re: [Hampshire] Launching a command from the web

> They would
> enter a 4 digit number in the box (which would ideally be checked that it
> was a 4 digit number. E.g. 1234) and then a dos command would be run e.g.
> C:\program files\importantapp\importantapp.exe stream 1234 3 start (or
> stop depending on which button was pressed)


Integrating with DOS might be difficult (I don't know if Aapche runs atop
DOS), but running some command-line stuff is easily achievably by way of
CGI. It's as simple as adding the +ExecCGI override in your Apache
config...

Vic.