note 28994 added to function.shell-exec
| From: | flame at rack1 dot php dot net | Date: | Thu, 30 Jan 2003 00:21:01 +0000 |
| Subject: | note 28994 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43097@lists.php.net to get a copy of this message | ||
add '2>&1' to the end of your shell command to have STDERR returned as well as
STDOUT.
$shell_return = shell_exec($shell_command." 2>&1");
--
http://www.php.net/manual/en/function.shell-exec.php
http://master.php.net/manage/user-notes.php?action=edit+28994
http://master.php.net/manage/user-notes.php?action=delete+28994
http://master.php.net/manage/user-notes.php?action=reject+28994