Hello,
I want to use authentication to a restricted area of a site. I managed to get it working (on my old configuration) with something like:
if(!isset($PHP_AUTH_USER) )
{
authenticate(); / requires user input: name, password/
$auth = "select login, passwd, auth_cat, nom, prenom from person where login = '$PHP_AUTH_USER' and passwd = '$PHP_AUTH_PW'";
$lst_auth = mysql_query($auth);
/ after this, I set cookies for further use/
All this workes fine when register_globals is ON.
I like to set it OFF, but I don't find a way to use these $PHP* then.
Can anyone help me out of this, please?
Thanks a lot!
JJ Mouris