RE: [PHP-WIN] Prevent error output from shell_exec

From: Date: Sat, 22 May 2004 21:58:40 +0000
Subject: RE: [PHP-WIN] Prevent error output from shell_exec
Groups: php.windows 
Request: Send a blank email to php-windows+get-23808@lists.php.net to get a copy of this message
I can guarante you that popen() does work - I use it myself on a win2003 server. Since you can use shell_exec() I assume this has nothing to do with safe_mode being switched on. How do you call popen() ands what kind of dos program are you calling? -----Original Message----- From: Paul J. Smith To: Svensson, B.A.T. (HKG); php-windows@lists.php.net Sent: 22-5-2004 23:47 Subject: RE: [PHP-WIN] Prevent error output from shell_exec I tried popen, but it doesn't run the program. I'm not sure popen works on win platforms? -----Original Message----- From: Svensson, B.A.T. (HKG) [mailto:B.A.T.Svensson@lumc.nl] Sent: 22 May 2004 22:36 To: 'php-windows@lists.php.net ' Subject: RE: [PHP-WIN] Prevent error output from shell_exec Have you tried this with popen()? -----Original Message----- From: Paul J. Smith To: Jeroen Serpieters Cc: php-windows@lists.php.net Sent: 22-5-2004 20:10 Subject: RE: [PHP-WIN] Prevent error output from shell_exec Thanks. Spot the deliberate mistake ;) Unfortunately, in my case, it doesn't work. I still get the PSEXEC header, which is what I am trying to suppress. Any other ideas?

« previous php.windows (#23808) next »