battleship adlı üyeden alıntı: mesajı görüntüle
Merhabalar
sorunmu kısaca şöyle hem uye panelınden hem admın panelınde gırıs yaptıgım zaman 2sinden bırınden cıkıs yapınca 2 sindede cıkıs yapıyor

uye cikis.php

<?php

if (isset($_GET['cikis'])) {
unset($_SESSION['login']);
session_unset();
session_destroy();
header("Location: index.php");
exit;
}

?>

admincikis.php
if (isset($_GET['cikis'])) {
unset($_SESSION['yonetici']);
session_unset();
session_destroy();
header("Location: index.php");
exit;
}
session_destroy();
kullanmayin