note 21913 rejected from language.operators.execution by dams
| From: | dams@php.net | Date: | Fri, 31 May 2002 11:41:48 +0000 |
| Subject: | note 21913 rejected from language.operators.execution by dams | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-31274@lists.php.net to get a copy of this message | ||
If you need to put a php variable inside your backticks you can use the eval function, e.g.:
$ext = "jpg";
eval("\$output =
ls -al *.$ext;");
echo "<pre>$output</pre>";