|
Posted by Jerry Stuckle on 09/30/07 13:19
Bruno Barros wrote:
> On 30 Sep, 04:09, klenwell <klenw...@gmail.com> wrote:
>> On Sep 29, 7:36 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>
>>
>>
>>> Bruno Barros wrote:
>>>> On 29 Sep, 23:36, Brendan Gillatt
>>>> <brendanREMOVET...@brendanREMOVETHISgillatt.co.uk> wrote:
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>> Bruno Barros wrote:
>>>>>> Hey there. I'm currently working on an intranet, and would like to
>>>>>> know how I can get the windows usernames of the visitors.
>>>>>> You can get their IP with $_SERVER['REMOTE_ADDR'];
>>>>>> But what about their Windows Username? Is there any way of doing so?
>>>>>> Through the Intranet?
>>>>> No unless you use ActiveX
>>>>> - --
>>>>> Brendan Gillatt
>>>>> brendan {at} brendangillatt {dot} co {dot} ukhttp://www.brendangillatt.co.uk
>>>>> PGP Key:http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
>>>>> -----BEGIN PGP SIGNATURE-----
>>>>> Version: GnuPG v1.4.3 (MingW32)
>>>>> iD8DBQFG/tOEkA9dCbrNdDMRArvrAJ9h0nlZp0c02kiQLeYLsdqeQyq7KwCgmu23
>>>>> i531jhYaBDCV2RuGUiqlxCY=
>>>>> =XHAi
>>>>> -----END PGP SIGNATURE-----
>>>> Other than that? Anything?
>>> Not a chance. Not meant to be rude, but what business is it of yours? I
>>> would be very upset if any site wanted my window user name. That's
>>> between me and my network.
>>> --
>>> ==================
>>> Remove the "x" from my email address
>>> Jerry Stuckle
>>> JDS Computer Training Corp.
>>> jstuck...@attglobal.net
>>> ==================
>> ---
>>
>> Bruno mentioned "intranet" so I think the idea is that the script
>> would only be looking for the username or credentials of a user who's
>> logged into the network.
>>
>> Would this be the idea?
>>
>> Integrating Active Directory with PHPhttp://www.developer.com/lang/php/article.php/10941_3100951_1
>
> Yes it is. I am developing a website for an Intranet and would like
> the Windows Username to be the username to be used inside the intranet
> (kind of automatic login).
>
OK, I misread intranet as "internet". Sorry.
The only way you can do this is with an ActiveX control. Nothing in the
browser will pass it on, and nothing on the server can look at it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|