$ENV{REMOTE_USER} This will require defining your web server (Apache, IIS, whatever) to require authentication when connecting to a particular page in order to get a valid name. I'm not sure you can get a valid username without implementing the server's security functions, whatever form they are implemented (.htaccess, mod_auth_mysql, etc...)
The documentation for your web server and some reading on CGI should give you all you need to understand this small piece of the puzzle. Hope this leads in the right direction. Joe > -----Original Message----- > From: Goessnitzer Nicolas [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 16, 2001 9:42 AM > To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] > Subject: get username > > > Hi all ! > I try to build a Web-DBMS, > and I would like to get the username of a person making a new entry. > Is there a possibility of getting the username (in the WWW) > with(/out) login > ? > Is there an environmentvariable which chatches this ? > > > Thanks, > Nicolas > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]