Title: RE: [PHP-WIN] Remote UserName

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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 24, 2001 10:17 AM
>To: Erik Ableson; [EMAIL PROTECTED]
>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
>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to