Sorry mate, I assumed that's what you were doing, sorry!!  There was a
message similar to this a while ago where someone wanted to exec something
on the users PC.

exec('c:\program files\winamp\winamp.exe > empty.file');

Should do the trick.  I take it winamp was loading but the 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 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: [EMAIL PROTECTED]




-- 
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]

Reply via email to