exec() will execute the app as the system, not a user, so cannot interact
with the desktop.
One way of getting around this would be (for NT) to use the exec() command
to create an AT schedule for 1 min in the future and set it to /interactive
which would cause the app to load and interact with th
he page would hang?
PHP waits for exec to finish first. Rerouting the output to a blank file
should do the trick. Hope it helps
Ross
-Original Message-
From: Yaroukh [mailto:[EMAIL PROTECTED]]
Sent: 10 October 2001 15:55
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Exec() again
This
This works:
Exec("mkdir myDirectory");
... this doesn't:
Exec("C:\\Program Files\\WinAmp\\winamp.exe");
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EM
I haven't wrote I want to execute anything on user's PC. /:o) Where did you
read this?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Again, you can't do this. You can certainly make winamp execute on the
server PC. To what end you'd want to do this I don't know. What u seem to
want to do is force winamp to run on a users PC whenever they visit your
webpage. This may seem harmless, but this ability would be a nightmare.
Give