<?php if ( $_GET['mode'] == usun_ciasteczka ) { //header("Location:../index.php"); } ?>
i niech genialny ktos mi powie czego ten kod nie usuwa ciasteczka tworzonego tak:
<?php ?>
nawet po odswiezeniu strony ciasteczko dalej istnieje ...
<?php if ( $_GET['mode'] == usun_ciasteczka ) { //header("Location:../index.php"); } ?>
<?php ?>
<?php if ( $_GET['mode'] == 'usun_ciasteczka') /// <- tu { //header('Location: ../index.php'); } ?>