I have a login section of my website that features a sessionvalidate.php script that is included on each page to make sure that a person is authorized to view the web page. The server move was a lateral move with PHP 5 and MySQL 5 and Apache on both machines. Obviously there is some PHP variable not turned on possibly?
Here is the code for the validate page that works on the original server and not on the new server.
$myConn = dbConnect();
if(myConn==false) header("Location: index.php?errCode=-3");
$adminid = $session_array['adminid'];
$adminuser = $session_array['adminuser'];
$sql = "";
$sql = "SELECT * FROM tbl_admin
WHERE user_uid='$adminid' AND