RE: [PHP] Win nt logon user how to ?
| From: | Daniel Masson | Date: | Fri, 11 Oct 2002 15:22:31 +0000 |
| Subject: | RE: [PHP] Win nt logon user how to ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119655@lists.php.net to get a copy of this message | ||
Thanks, im just wondering ... There are some ASP scripts in this same
server and they get the variable perfetcly, the directories have the
same config, i dont know whats wrong with this, maybe beacuse the
gateway is CGI ???
Cordialmente
Daniel Massón => Ingeniero de desarollo
dmasson@imagine.com.co
www.imagine.com.co
Tels: (57)(1) 2182064 - 6163218
Bogotá - Colombia
------------------------------------------------------------------------
- Soluciones web para internet e intranet
- Asesoría y Soporte Técnico
- Licenciamiento de Software
-----Mensaje original-----
De: John W. Holmes [mailto:holmes072000@charter.net]
Enviado el: viernes, 11 de octubre de 2002 9:29
Para: dmasson@imagine.com.co; php-general@lists.php.net
Asunto: RE: [PHP] Win nt logon user how to ?
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