I need to get the remote user name in my CGI script. Where do I find that? I want to display that name on the page that I return.
+5
A:
The remote_user()
method in the CGI module.
If you're not using the CGI module, the environment variable REMOTE_USER: $ENV{REMOTE_USER}
Christoffer Hammarström
2010-03-29 16:37:37