Hello, On 06/12/2002 01:43 PM, Arturo Barajas wrote: > Greetings, everyone. > > I'm new on the list (not so on PHP). > > I'm stuck with a little problem, I'm trying to implement some PHP pages at work, >where ASP is used. The platform is NT 4.0 SP6, with PHP 4.2.1. > > My problem is that with ASP I can have something like >Request.ServerVariables("LOGON_USER"). I've tried using $_SERVER["LOGON_USER"] but to >no avail. Curiously, Request.ServerVariables("REMOTE_ADDR") and >$_SERVER["REMOTE_ADDR"] work like a charm. > > How can I obtain the login the user entered when logged to his/her machine?
PHP does not support NTLM authentication. ASP does it, Java does it, Perl does it, Python does it, but PHP don't . I don't know if and when it ever will because according to Rasmus Lerdorf, Windows PHP users "are second-class citizen when it comes to support from the open source community". http://news.php.net/article.php?group=php.qa&article=5414 I don't agree and even think that it is a stupid thing to say because open source is not about excluding Windows users even if there are much less open source developers with Windows knowledge there is no point in making Windows users feel bad about it. Anyway, personally I don't use Windows nor have a project that motivate me to add support to NTLM authentication in PHP, but if you or anybody has interest in doing it and know enough C, I can tell you how to write a PHP extension to support that. Just let me know if you are interested. -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php