Hello, I am having trouble on checking from a webhost, how many connections are made on my server port, which is my localhost. I need this to display on the website. I know if I had the site on my computer with the server I can just simply run this command "<?php echo (exec('netstat -a -n |find "5816" |find "ESTABLISHED" /c')-0); ?>"
How can I make my website talk with my localhost conquer server, to see how many connections are made.
Thanks.
Turns out I was using the correct code, My webhost was the problem. BUT my webhost has disabled all exec functions, so I can't use this. Does anyone else have any ideas?
My webhost disables the following functions: disable_functions symlink,shell_exec,exec,proc_close,proc_open,popen ,system,dl,passthru,escapeshellarg,escapeshellcmd, show_source






