I'm trying to compare the user's IP to allowed IP's. It's saying that my IP isn't allowed when it echos 97.103.49.59You do not have permission to do that.
I'm trying to compare them like so:
$ip_address = $_SERVER['REMOTE_ADDR'];
echo "$ip_address";
if(ip_adress=="97.103.49.59") {
header('Location: Blog.php');
} else {
echo "You do not have permission to do that.";
}