Re: [PHP-DB] PHP_AUTH_USER & .htaccess

2007-03-06 Thread Micah Stevens
This function doesn't work if you're using the CGI version of PHP. Check for that - it may be responsible. -Micah On 03/06/2007 12:02 AM, Mike van Hoof wrote: 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 .h

RE: [PHP-DB] PHP_AUTH_USER & .htaccess

2007-03-06 Thread Dwight Altman
Typo? $_SERVER['|PHP_AUTH_USER'] != $_SERVER['PHP_AUTH_USER'] Notice the pipe "|" before "PHP_AUTH_USER"? Regards, Dwight > -Original Message- > From: Mike van Hoof [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 06, 2007 2:03

Re: [PHP-DB] PHP_AUTH_USER & .htaccess

2007-03-06 Thread Mike van Hoof
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" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 06

Re: [PHP-DB] PHP_AUTH_USER & .htaccess

2007-03-06 Thread bedul
- Original Message - From: "Mike van Hoof" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 06, 2007 3:02 PM Subject: [PHP-DB] PHP_AUTH_USER & .htaccess > Hello, > > I've got a really strange problem, and hope this is the right list to > post to. &g

[PHP-DB] PHP_AUTH_USER & .htaccess

2007-03-06 Thread Mike van Hoof
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