RE: [PHP] Win nt logon user how to ?

2002-10-11 Thread John W. Holmes

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




RE: [PHP] Win nt logon user how to ?

2002-10-11 Thread Daniel Masson

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
[EMAIL PROTECTED]
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:[EMAIL PROTECTED]] 
Enviado el: viernes, 11 de octubre de 2002 9:29
Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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:[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




RE: [PHP] Win nt logon user how to ?

2002-10-11 Thread John W. Holmes

Yeah, maybe. The version I've seen it work on all had PHP installed as a
module in IIS.

---John Holmes...

 -Original Message-
 From: Daniel Masson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 11:23 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: [PHP] Win nt logon user how to ?
 
 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
 [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]]
 Enviado el: viernes, 11 de octubre de 2002 9:29
 Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 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:[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