Ryan wrote:
> Richard et al.,
>
> You are right, the variable was not being provided for the apache
> server. Essentially I found the answer here
>
> http://httpd.apache.org/docs/1.3/misc/FAQ-F.html#remote-user-var
>
> The document has to be protected in order for apache create the
> REMOTE_
Richard et al.,
You are right, the variable was not being provided for the apache
server. Essentially I found the answer here
http://httpd.apache.org/docs/1.3/misc/FAQ-F.html#remote-user-var
The document has to be protected in order for apache create the
REMOTE_USER variable. This was an ap
Use and see what *IS* there.
If what you want isn't there, then the web server didn't provide it.
If the web server didn't provide it, PHP can't be blamed for not
passing it on to you, which is *ALL* PHP does here.
So what you have is a web-server configuration issue in that case.
On Mon, Feb
Tried that ($PHP_AUTH_USER) and it is also empty.
On 2/24/07, dave <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
try echo $PHP_AUTH_USER;
Ryan wrote:
> Richard,
>
> I looked at phpinfo() as you said, same thing...
>
> _SERVER["REMOTE_USER"]no value
>
> You may be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
try echo $PHP_AUTH_USER;
Ryan wrote:
> Richard,
>
> I looked at phpinfo() as you said, same thing...
>
> _SERVER["REMOTE_USER"]no value
>
> You may be right, this may not be available, but I don't want to keep
> throwing a login screen in front
Richard,
I looked at phpinfo() as you said, same thing...
_SERVER["REMOTE_USER"]no value
You may be right, this may not be available, but I don't want to keep
throwing a login screen in front of users for no apparent reason.
Thanks,
Ryan
On 2/23/07, Richard Lynch <[EMAIL PROTECTED]
On Wed, February 21, 2007 1:01 pm, Ryan wrote:
> I'm new to php and I have am running php on apache. I already have
> ldap
> authentication set up in apache would rather not create a separate
> system
> for php. What would be ideal would be to get the current authenticated
> user
> from the apache
Jochem,
Hmm, not sure what I'm looking for, but from what I've read, the
REMOTE_USER should contain this informaion, mine seems to be empty.
array(30) {
.
.
.
["REMOTE_USER"]=>
string(0) ""
.
.
Thanks,
Ryan
On 2/23/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
Ryan wrote:
> Hello,
>
>
Jochem,
Hmm, not sure what I'm looking for, but from what I've read, the
REMOTE_USER should contain this informaion, mine seems to be empty.
array(30) {
.
.
.
["REMOTE_USER"]=>
string(0) ""
.
.
Thanks,
Ryan
On 2/23/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
Ryan wrote:
> Hell
Ryan wrote:
> Hello,
>
> I'm new to php and I have am running php on apache. I already have ldap
> authentication set up in apache would rather not create a separate system
> for php. What would be ideal would be to get the current authenticated user
> from the apache environment. At this point I'
10 matches
Mail list logo