guarda per me è un mistero!!!
allora ho fatto le seguenti modifiche:
e adesso funziona...Codice PHP:
$login_check = mysql_num_rows($sql);
if($login_check != 0) {
$row = mysql_fetch_array($sql);
$_SESSION['usr'] = $row['usr'];
header ('location:enter.php');
} elseif ($login_check == 0) {
header('location:private.php?login=no');
}
non chiedermi come è possibile, comunque secondo me era qualche impostazione dell'hosting...
tu che dici?