SlugSlug
November 20th, 2012, 01:55 PM
Hi am trying to display the output of a log via apache
<?php echo shell_exec('tail -10 /path/log/file.log'); ?>now in bash this displays colours but via web I get the text vi shows which is kind of like colour codes..
eg
[36;1
<?php echo shell_exec('tail -10 /path/log/file.log'); ?>now in bash this displays colours but via web I get the text vi shows which is kind of like colour codes..
eg
[36;1