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]
er. Any sort of php function that could make the users pc
do something wouldn't be php. It'd be html, xml, jscript etc.
Sorry
Ross
-Original Message-
From: Yaroukh [mailto:[EMAIL PROTECTED]]
Sent: 10 October 2001 12:55
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Exec() again
Hi
Hi there
Is anybody able to run an external application from PHP? (under Win32) I
mean to run WinAmp for example? (or new explorer window)
Have a nice day
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands