Location: PHPKode > projects > Simple E-document > simple_e_document_v_1_3/logout.php
<?php

if(isset($_POST['username'])) $username=$_POST['username'];

if(!isset($username)) { $username='';} else{

setcookie("username",$username,time()-60000);
setcookie("access",1,time()-60000);
echo 'Logout OK!<br>';


	}
echo "<META HTTP-EQUIV=\"refresh\" content=\"1;URL=index.php\">";

?>
Return current item: Simple E-document