ubuntu - get the user of the computer with php -


i'm trying name of user access webserver. know how name of computer connected server:

$hostname = gethostbyaddr($_server['remote_addr']);   

and i'm looking way user opened session in computer. there way this?

in 1 word: no.

you cannot reach remote computers , pull out kind of information want. thank god. unless username voluntarily advertised remote computer part of protocol or another, cannot it. , username not typically disclosed part of regular http protocol traffic.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -