Location: PHPKode > projects > Private Movie Database > pmdb_V_B_0.3.0/code/pmdb/security/logout.php
<?
/* filename: logout.php
 * project: movie database
 * author: lex alexander
 * originally coded: 13.06.2003
 * last modified: 23.06.2003
 * version V0.1
 * usage: deletes cookies and loggs you out
*/

include("../inc/conn_data.inc");
include("../language/$lang.inc");
include("../inc/functions.inc");

setcookie("pmdb_uname", "", time() - 3600, "/" , "$SERVER_NAME" ,0);
setcookie("pmdb_pass", "", time() - 3600, "/" , "$SERVER_NAME" ,0);
setcookie("pmdb_language", "", time() - 3600, "/" , "$SERVER_NAME" ,0);
setcookie("pmdb_uid", "", time() - 3600, "/" , "$SERVER_NAME" ,0);

xhtmlTitle(LOGIN_TITLE,WAIT_ERR,"login.php", time() - 3600);

?>
<body>
<div class = "full-message"><?=LOGOUT_MSG;?></div>
</body>
</html>
Return current item: Private Movie Database