He made a great looking but extremely poorly coded
page I don't want the whole world to be able to see...
I use cookie based authorization, e.g.
if ($AuthStatus AND $Members="true") {
$UserName=$AuthName; } else {
header("Location:logn.php"); }
So, I inserted <? Members="true";
if ($AuthStatus AND $MEMBERS == TRUE) {
$UserName = $FirstName;
$IndexPage = "\"/members.html\"";
} elseif ($AuthStatus AND $MEMBERS == FALSE) {
$UserName = $FirstName;
$IndexPage = "\"/members.html\"";
} elseif (! $AuthStatus AND $MEMBERS == TRUE) {
header("Location: logn.html");
} elseif (! $AuthStatus AND $MEMBERS == FALSE) {
$UserName = "Visitor";
$IndexPage = "\"/index.html\"";
}
Yet, logging in on a box without the cookies set
still allows me in every time....
Probably a stupid issue, forgive me if I'm wasting
your time......
dalecosp😕