I work in a network support office which uses a web form to receive
network related problem reports from our end users. The web server is
IIS 5.0 on win2k server, and we use PHP and MySQL to handle the form
and tracking.
I'd like this setup to launch an mp3 player on the web server when a
problem report is sent in. I've tried exec("little mp3 player i
wrote"), but there are two issues with it:
1) I think the mp3 player runs as the user who sends in the report.
If the report is sent from the web server itself, everything works
fine. Otherwise, the mp3 player runs in the background and can't be
shut off.
2) The script waits for the mp3 player to be closed to finish.
I'm guessing there's a different command that will solve problem 2,
but I'm stumped on problem 1. It's more of an IIS/windows issue,
probably, but any help you guys could give me would be great. Thanks.
-steronz
network related problem reports from our end users. The web server is
IIS 5.0 on win2k server, and we use PHP and MySQL to handle the form
and tracking.
I'd like this setup to launch an mp3 player on the web server when a
problem report is sent in. I've tried exec("little mp3 player i
wrote"), but there are two issues with it:
1) I think the mp3 player runs as the user who sends in the report.
If the report is sent from the web server itself, everything works
fine. Otherwise, the mp3 player runs in the background and can't be
shut off.
2) The script waits for the mp3 player to be closed to finish.
I'm guessing there's a different command that will solve problem 2,
but I'm stumped on problem 1. It's more of an IIS/windows issue,
probably, but any help you guys could give me would be great. Thanks.
-steronz
Comment