Hello
I have to execute this shell_exec command on my scripts
$executeonly=shell_exec("ls /etc/vmail -L -l -t");
if "ls" finds not existent symlinks it reports a lot of errors like this
no such file or directory
no such file or directory
no such file or directory
no such file or directory
Since I want hide this output , I'm trying
ob_start();
$executeonly=shell_exec("ls /etc/vmail -L -l -t");
ob_end_clean();
but I continue to receive
no such file or directory
no such file or directory
no such file or directory
no such file or directory
How to hide this shell_exec output ?
Thanks