It's there...

$_ENV['LOGON_USER']

You may have to turn on some NT setting in IIS for that directory...if
you're using IIS.

---John Holmes...

> -----Original Message-----
> From: Daniel Masson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 11, 2002 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Win nt logon user how to ?
> 
> Hey everyone, id like to know how to get the logon user in my NT
domain,
> i know that this can be done in ASP:
> Request.Servervariables("LOGON_USER"), and gets the logged user of the
> client machine, i need to do that with PHP, ... im affraid this is not
> possible because, runing phpinfo() ... this variable is not on
> enviroment list.
> 
> is it possible what i want to do ??
> 
> Thanks every1 !!
> 
> Regards
> Daniel.
> 
> 
> 
> 
> -----Mensaje original-----
> De: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Enviado el: viernes, 11 de octubre de 2002 8:49
> Para: Cole Tuininga
> CC: [EMAIL PROTECTED]
> Asunto: Re: [PHP] Raw HTTP data
> 
> 
> See your php.ini file:
> 
> ; Always populate the $HTTP_RAW_POST_DATA variable.
> ;always_populate_raw_post_data = On
> 
> On 11 Oct 2002, Cole Tuininga wrote:
> 
> >
> > Quick question - is there an equivalent to QUERY_STRING for POSTs?
I
> > need the deata to essentially be in the same format as for GETs.  If
> > the answer is "build it myself" from $_POST, so be it.  I was hoping
> > there was a more elegant solution though.  8)
> >
> > -Cole Tuininga
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




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

Reply via email to