Re: PHP_AUTH_USER & .htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This must be set on "On", because in a directory where the .htaccess file doesn't exist it works, or can that setting also be set to on?

- Mike

bedul schreef:
----- Original Message -----
From: "Mike van Hoof" <mike@xxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Tuesday, March 06, 2007 3:02 PM
Subject:  PHP_AUTH_USER & .htaccess


Hello,

I've got a really strange problem, and hope this is the right list to
post to.

I got a website with a login, which uses a .htaccess file for
autentication. That part works like a charm. But when i want to read the
loggin details with PHP, the variable $_SERVER['|PHP_AUTH_USER'] isn't
set (in the directory where i logged into)

when i go a directory back, and view a phpinfo() there i see
|$_SERVER['|PHP_AUTH_USER']|| is set, so i do a phpinfo() in the
directory with the .htaccess and it is gone.

Had anyone ever had experience with this, because i can't find a solution.

- Mike|
i do believe this can only be answer by your webadmin.. since this might not
your local but using web right??
try ask to them are the php_auth_user is set ON


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux