Above code is not working in core php
if (isset($_SESSION['standBy']) AND !isset($_SESSION['auemail'])){
header("Location:../../index.php"); die;
}
Above code is not working in core php
if (isset($_SESSION['standBy']) AND !isset($_SESSION['auemail'])){
header("Location:../../index.php"); die;
}
You need to use &&
as an 'AND' comparator.
if (isset($_SESSION['standBy']) && !isset($_SESSION['auemail'])){
header("Location:../../index.php");
die();
}