real api and clearer separation between server and client
[syp.git] / logout.php
1 <?php
2
3 require_once ("./inc/settings.php");
4
5 $cookie_name = sprintf ("%sauth", DBPREFIX);
6 setcookie ($cookie_name, "", time () - 3600, "" , "",false, true);
7 header ('Location: index.php');
8
9 ?>