RE: [PHP] Win nt logon user how to ?
| From: | John W. Holmes | Date: | Fri, 11 Oct 2002 14:28:45 +0000 |
| Subject: | RE: [PHP] Win nt logon user how to ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119640@lists.php.net to get a copy of this message | ||
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:dmasson@imagine.com.co]
> Sent: Friday, October 11, 2002 9:55 AM
> To: php-general@lists.php.net
> 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:rasmus@php.net]
> Enviado el: viernes, 11 de octubre de 2002 8:49
> Para: Cole Tuininga
> CC: php-general@lists.php.net
> 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
> > cole@tuininga.org
> >
> >
> >
> >
> > --
> > 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