[snip]
I didn't sent off list, always to php.general in reply to whatever
message thread I am in. In any event, I have tried safe mode = On and
safe mode = Off with the 4 commands I listed in my last thread and my
actual code is using an echo = "<textarea>$tailed</textarea>";
>><?php
>>$tailed = shell_exec('tail -f /path/to/log');
>>//$tailed = exec('tail -f /path/to/log');
>>//$tailed = system('tail -f /path/to/log');
>>print = "<textarea>$tailed</textarea>";
>>?>
[/snip]
<?php
$tailed = shell_exec('tail /path/to/log');
print = "<textarea>$tailed</textarea>";
?>
I can only think that it must be a permissions issue. What happens if
you run the script from the command line?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php