Hello,
I got a problem with the following code:
if ($username = "GP")
{
header("Location: $first_page?.SID");
}
elseif ($username = "GE")
{
header("Location: $second_page?.SID");
}
In the conf.php I got:
$first_page = "gp.php";
$second_page= "ge.php";
When I login as GP I get to GEP.PHP (is good!)
When I login as GE I also get to GEP.PHP (is not good!!!)
I also tried two times = but that also didn't work.
Who can help me?
Thanks in advance.
Benno