note 14846 deleted from function.exec.php by philip

From: Date: Fri, 17 Aug 2001 16:53:15 +0000
Subject: note 14846 deleted from function.exec.php by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-16852@lists.php.net to get a copy of this message
Comment to the above hint by "chungdownload@hotmail.com": [W2K]: If you use option 2), the output won't be saved in the optional string. For example:"exec("cmd /c dir", $dir_result); $dir_result will be empty. However, this works: $dir_result=system("cmd /c dir"); Hm.. seems PHP crashes when a exe-file is tried to be launched. Only restarting Apache can help then.

« previous php.notes (#16852) next »