Code: Select all
<php echo shell_execute("tac /home/kusmuk/access-logs/kusmuk.org"); ?>altough it does not work those following lines works as expected:
Code: Select all
<php echo shell_execute("ls -al triogrup.com"); ?>
//outputs: -rw-r----- 2 root kusmuk 28640 Aug 19 17:44 kusmuk.orgCode: Select all
<php echo shell_execute("pwd"); ?>
//outputs: /home/kusmuk/public_html