- Edited
print_r($_ENV);
echo gethostname(); // Or, an option before PHP 5.3
echo php_uname('n');
These are all working right but
We want to show the client computer's name on the server but it calls our server's operating system.
like: Array ( ) CentOS-72-64-minimal