for the security purpose how I get visitor computer name and related details using php?
I try $_ENV['COMPUTERNAME']
it showing my server name not client computer details...
There is any option to get client computer name?
for the security purpose how I get visitor computer name and related details using php?
I try $_ENV['COMPUTERNAME']
it showing my server name not client computer details...
There is any option to get client computer name?
In normal cases, you can't. The only things you can retrieve are:
Sending the computer name as part of the request simply doesn't make sense for the browser. Also, I'm skeptical it is even possible (in a reliable way) to get it via other ways.
echo 'Current computer owner: ' . get_current_user().'</br>';
I have only found this code that returns the name you have given to the computer Soory i think is error return the carrent owner of http protocol to have the php online page and works on the online server at local server youcan have your machine name with
echo 'Computer Name: ' . getenv('COMPUTERNAME').'</br>';