I am having problems with my sessions which I think is due to my PHP.INI file with PHP 4.3.2.
I have the code:
session_start ();
if (!session_is_registered ("username","password")) {
include ("login.php");
exit;
} else {
echo $HTTP_SESSION_VARS[userlevel];
}
but I receive the error:
Warning: Wrong parameter count for session_is_registered() in C:\Development Server\Websites\login\test.php on line 5.
Can anyone help please?
Thanks