RE: [PHP-WIN] Remote UserName

From: Date: Thu, 24 May 2001 15:58:47 +0000
Subject: RE: [PHP-WIN] Remote UserName
Groups: php.windows 
Request: Send a blank email to php-windows+get-7921@lists.php.net to get a copy of this message
Hmm - the problem that I'm having is that I want this interaction to be invisible to the end user. I don't want them to be presented with a login dialog since I _should_ (somehow) be able to identify them by the id they presented to the proxy with which I can verify whether they should have rights or not. All of the "ENV" vars seem to refer to the local instance of the app on my machine - referring to any of these from a remote connection, just reports my userid on these forms, not the userid of the remote user... when I get someone else to hit the page - all the "ENV" and "SERVER" variables are reporting my userid information (where I'm logged in) not the info of the client browser... Hints and tips always appreciated, Erik >-----Original Message----- >From: OoCobra97@aol.com [mailto:OoCobra97@aol.com] >Sent: Thursday, May 24, 2001 10:17 AM >To: Erik Ableson; php-windows@lists.php.net >Subject: Re: [PHP-WIN] Remote UserName > > >Hello Erik, >You can access the username and password by possibly a getenv or >http_env_vars...and using PHP_AUTH_USER and PHP_AUTH_PW if >you go to a >page that has the phpinfo() command in it after youve >authenticated, it will >show you these variables...there located under php variables. >Hope this >helps in some crazy way....sorry about not knowing what >command to use to get >them...but ive been up for 2 days straight now...and mountain >dew just inst >working any more > >Good Luck >~Jeff > > > > > >Hmm - an odd one here. I am working in an environment where >all browsers are >forced to authenticate to a Netscape proxy server and all >traffic internal >and external is routed through the proxy. Since all users are >authenticated >as soon as their browser opens, I'd like to be able to access >the userid that >they used to authenticate in order to handle site >personalization, but I >can't seem to find any way to get at this information. > >Any every tried this with php? >Cheers, >Erik Ableson > >

« previous php.windows (#7921) next »