note 14846 added to function.exec.php

From: Date: Fri, 17 Aug 2001 09:49:19 +0000
Subject: note 14846 added to function.exec.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16835@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. http://www.php.net/manual/en/function.exec.php

« previous php.notes (#16835) next »