note 9260 added to system
| From: | simon at unixinside dot com | Date: | Wed, 25 Oct 2000 07:16:18 +0000 |
| Subject: | note 9260 added to system | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6902@lists.php.net to get a copy of this message | ||
system() function doesn't return a string value, if you want to assign the output of a system
command, try using:
$a =
/bin/ls -a;
note the ` is a backtick, not a single quote
http://www.php.net/manual/function.system.php