Search found 3 matches

by mary-ann
Thu Aug 07, 2003 11:08 am
Forum: PHP - Code
Topic: Authentication - PHP_AUTH_USER / PW don't get set
Replies: 5
Views: 785

Ah-hah - I've just found out that PHP_AUTH_* won't work with the CGI version of PHP, which is what's apparently installed. As I understand this page , that means that it won't even work with $_SERVER['PHP_AUTH_USER']. So it looks like I'll have to abandon my attempt to use PHP for authentication, an...
by mary-ann
Thu Aug 07, 2003 10:26 am
Forum: PHP - Code
Topic: Authentication - PHP_AUTH_USER / PW don't get set
Replies: 5
Views: 785

Their version of PHP is "4.3.2 (CGI version)".

Even if "register_globals" isn't on, wouldn't using $_SERVER['PHP_AUTH_USER'] instead have fixed the problem?
by mary-ann
Thu Aug 07, 2003 10:07 am
Forum: PHP - Code
Topic: Authentication - PHP_AUTH_USER / PW don't get set
Replies: 5
Views: 785

Authentication - PHP_AUTH_USER / PW don't get set

Hi, I'm using the following code to try to get user authentication working. However, when I try to load the page, I just get the user name/password box popping up over and over again, regardless of the user name and password I've put in. I've narrowed it down to the fact that $PHP_AUTH_USER and $PHP...