Re: [PHP] newbie php authentication quest.

2001-03-15 Thread Chris Lee
this works for me \n"; exit(); } if ( isset($PHP_AUTH_USER) AND isset($PHP_AUTH_PW) AND $peop_r = fetch_db_value('people_manager', "WHERE username = '$PHP_AUTH_USER' AND password = '$PHP_AUTH_PW' ") ) $SessionID = $peop_r['peopleID']; else { Header("WWW-Authenticate: Basic realm='$SE

[PHP] newbie php authentication quest.

2001-03-15 Thread Christian Boesch
hi i want to protect a page (lets say its name is test.php) with authentication. therefore i included auth.php as follows: test.php: this is auth.php: the problem is that when i want to open test.php i get the authentication box, then i enter username and password and then i get again this b