Hi Shaun,

> I would
> like to be able to tailor the main webpage to whichever person visits it -
> but by using their windows login ID instead of having to get them to enter
> username when the page is visited... Is this possible?

Yes it is, if the user is logging on to the machine running apache.

When running under m$ windows, the environment variable USERNAME contains
the username of the user logged on to the machine running Apache/PHP.

Not sure if this is true for '98.

Create a file called, say, info.php which contains the following 3 lines:


and have a look at its output.



PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to