Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows user name

Status
Not open for further replies.

mmiller81

Programmer
Joined
Jan 28, 2005
Messages
3
Location
US
Does anyone know of a way to print out the windows user name to a web page in perl?
 
You should be more specific in your question. Do you want the username running the webserver from a Win32 server, or the username of the person opening the webpage?

To get the local username (of the user account that your web server and/or Perl is running from), it's in $ENV{USERNAME}. You can't get the username of the remote client accessing the webpage over the Internet though.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top