ch 01, 2006 16:43
> > To: Wagner, Aaron
> > Cc: php-windows@lists.php.net
> > Subject: Re: [PHP-WIN] NEWB: get username that is currently
> > logged in to Windows workstation.
> >
> > Eh... POST didn't work. Here's my code to try and get this to work,
the second line. :-P At this point though, I
> > > > > wouldn't want
> > > > > > to display this info, just assign it to a variable or
> > > > > cookie so i can
> > > > > > get at it with PHP. I suppose in this case I can
> > always echo the JS
variable. Maybe?
> > > > >
> > > > > document.forms[0].lookupNBID.value = WshNetwork.UserName
> > > > >document.forms[0].submit()
> > > > >
> > > > > Here is where I am confused. Generally speaking, at this
>
what happens.
> -Aaron (Kenney)... so many Aarons.
>
> On 3/1/06, Wagner, Aaron <[EMAIL PROTECTED]> wrote:
> >
> > > -Original Message-
> > > From: Aaron Kenney [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 01, 2006 13:12
> > >
, Aaron <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Aaron Kenney [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 28, 2006 16:10
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] NEWB: get username that is currently
>
I am sorry but I am somewhat new to interfacing Windows through PHP.
What I am trying to do is to get the username (or otherwise unique
identifier) of the user that is currently logged into the local
Windows workstation, and then assign the username to a variable. Can
it be done?
Originally what I