Reply to Re: display logged in USER in textbox ?

Your name:

Reply:


Posted by Jerry Stuckle on 11/06/07 11:25

zdzisio wrote:
> Rik Wasmus pisze:
>> On Mon, 05 Nov 2007 17:59:40 +0100, <paul814@excite.com> wrote:
>
>>
>> Hardly on the www. You should not want to know my username. On
>> intranets, you could use some ActiveX, nothing to do with PHP/not
>> something PHP can do though.
>
> oh please.
>
> of coure you can do that , and not through some active X
> There is a normal way to do that. the question is only what kind of
> serwer you are using for the web (apache ,iis )and what kind of serwer
> for the local net (nt, samba, so on)
>
>
> with microsoft serwer it is done in almost no time
> with apache you need additional module
>
> http://modntlm.sourceforge.net/
>
> then logged user sid should be visible in $_SERVER variable
>
> then you have to chceck the user id in LDAP to get the name to display
>
> the end
>
>
> z.
>
>

Sorry, that's a login module for Apache. It tells you who logged into
Apache, not who's currently logged into the machine. And the same is
true with IIS. This is not necessarily the same as the person logged
into the machine.

Rik is correct. There is no way to get the name of the user logged into
the machine without ActiveX controls. HTTP security prohibits the
server from knowing such information - which is a good thing.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация