Hi guys,
That's quite confusing - I use one of the latest PHP editions and DON'T use session_register() as it's a deprecated function. My register_globals are OFF. My session assigments incode are as follows:
The problems is that after the login I get the error "Uknown : your script relies on session_side effect....." and also when $_session['firstname']; doesn't echo / prints - but apart of these things the script seems to be working. Why it gives me this error while I don't use any deprecations and why it doesn't print $firstname ? Thank you fr all the comments !
That's quite confusing - I use one of the latest PHP editions and DON'T use session_register() as it's a deprecated function. My register_globals are OFF. My session assigments incode are as follows:
Code:
while($row=mysql_fetch_array($select)) {
extract($row);
$id = $row["id"];
$_SESSION['id'] = $id;
$firstname = $row["firstname"];
$_SESSION['firstname'] = $firstname;
$email1 = $row["email"];
$_SESSION['email'] = $email1;
mysql_query("UPDATE `mymembers` SET last_log_date=now() WHERE id='$id'");
$pass=$password;
$first=$firstname;
$email1=$email;
}
The problems is that after the login I get the error "Uknown : your script relies on session_side effect....." and also when $_session['firstname']; doesn't echo / prints - but apart of these things the script seems to be working. Why it gives me this error while I don't use any deprecations and why it doesn't print $firstname ? Thank you fr all the comments !