RE: [PHP] system command?
| From: | Jay Blanchard | Date: | Mon, 10 May 2004 15:21:26 +0000 |
| Subject: | RE: [PHP] system command? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185812@lists.php.net to get a copy of this message | ||
[snip]
<?php
$tailed = shell_exec('tail /path/to/log');
print = "<textarea>$tailed</textarea>";
?>
[/snip]
I forgot to take out the "="
<?php
$tailed = shell_exec('tail /path/to/log');
print = "<textarea>$tailed</textarea>";
?>