note 10688 modified in function.exec by didou
| From: | didou@php.net | Date: | Wed, 21 May 2003 15:50:47 +0000 |
| Subject: | note 10688 modified in function.exec by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48743@lists.php.net to get a copy of this message | ||
I just discovered that you can also execute a command by
place the command string between ` characters. This simply
evaluates to the output of the command.
example:
<? $foo =
ls -al /;
echo($foo);
?>
--was--
I just discovered that you can also execute a command by
place the command string between ` characters. This simply
evaluates to the output of the command.
example:
<? $foo = ls -al /;
echo($foo);
?>
http://www.php.net/manual/en/function.exec.php