You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
557 B
PHP

<?php
include "../include/sysvariable_inc.php";
if( !$_COOKIE[$sys_projektname."Admin" ] ){
setcookie($sys_projektname."Admin",true,time()+ 80000000,"/"); //Mehr als ein 2 Jahre
$text = "Admin Cookie gesetzt für ".$sys_projektname;
}
else {
setcookie($sys_projektname."Admin",false,time()- 4200,"/"); //Cookie löschen
$text = "Admin Cookie gelöscht ".$sys_projektname;
}
echo '<head>';
echo '<meta http-equiv="refresh" content="2; URL=../index.php">';
echo "</head>";
echo "<big><b>".$text."</b></big>";
?>