From: "David Smith" <[EMAIL PROTECTED]>

> Spychała Wojciech wrote:
> >I have to do user recognizing in m php project. Simplest method i know is
> >recognize for example login name (when user is logging into his local PC)
> >
> >I've tried to use $USERNAME variable but it isnt what i want because it
> >recognize login name on server not remote user
> >
> If you are referring to the Windows login name, this is not possible
> with PHP via the web browser.

Sure it is. It's usually in $_SERVER['LOGON_USER'] or something similar.
I've only seen this work with IIS when anonymous access is turned off,
though. This means you'll only get names for people that are on your
network, it won't work for people coming to your site from outside.

---John Holmes...

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to