I have a basic php script that calls system(“netstat -l”) and the reads what services are online. I got it all working exept that system() sends the whole return to the client… So my question is how do i run system() whiteout having it sending the command output to the client?
Im running this on ubuntu server.
You can do:
$outputwill now contain the output of the command.shell_exec