I'm trying to get the name of the user who access my webserver. I know how to get the name of the computer which is connected to the server:
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
and i'm looking for a way to get the user who is opened the session in the computer. Is there a way to do this?