I was looking for ways to get Remote Hostname like $ENV{"USER_NAME"} on apache server. Is there a way to get the the name of the host machine, preferably perl or else any other way.
I cannot use .htaccess as our authentication is database based.
Any help or direction greatly appreciated.