Qualcuno sa dirmi perchè questa funzione funge in locale ma non uplodata su internet?
Codice PHP:function logOut(){
@session_start();
if(isset($_SESSION['CriptNick'])){
session_unset();
session_destroy();
}
header("Location:index.php");
}
Qualcuno sa dirmi perchè questa funzione funge in locale ma non uplodata su internet?
Codice PHP:function logOut(){
@session_start();
if(isset($_SESSION['CriptNick'])){
session_unset();
session_destroy();
}
header("Location:index.php");
}