Hi,
can anyone run that script (with PHP >= 4.1.0) and post the results?
I need it to verify a bug?.
(I get "foo is not and bar is")
Thanks in advance,
Marcus.
<?
session_start();
$SESSION["foo"] = "foo is registered";
$bar = "bar is registered";
session_register("bar");
if (session_is_registered("foo") == FALSE){
echo "foo is not registered<br>";
}else{
echo $SESSION["foo"];
}
if (session_is_registered("bar") == FALSE){
echo "bar is not registered<br>";
}else{
echo $bar;
}
?>