View file logout.php

File size: 787B
<?php    
/*
* W@Pchat
* Current Version : 1.2
* Author : Harris Yusuf Arifin (earthweb.biz)
* License : free
* You you can redistribute it and/or modify this script but please always put author's name
*/

session_start();

header("Content-type: text/vnd.wap.wml");
include("headerwml.php");

echo "<wml>";
echo "<card id=\"WAPchat\" title=\"WAPchat\">";  
echo "<p>";
echo $sesnickname.", You are logout<br/>";
echo "<a title=\"Relogin\" href=\"login.php\">Relogin</a><br/>\n";   
echo "<do type=\"prev\" label=\" \">\n";
echo "	<noop/>\n";
echo "</do>\n"; 
echo "</p>";   
echo "</card>";
echo "</wml>";

include("functionChat.php");
delMess($sesnickname,$sestimelogin);
logoutMess($sesnickname,$sestimelogin);
session_unset();  
session_destroy();   
?>