updates
[squirrelmail.git] / src / signout.php3
CommitLineData
21c3249f 1<?
2 /**
3 ** signout.php3
4 **
5 ** Clears the cookie, and logs them out.
6 **
7 **/
8
9 $username = "";
10 $key = "";
11 $logged_in = 0;
12
13 setcookie("username", "", time(), "/");
14 setcookie("key", "", time(), "/");
15 setcookie("logged_in", 0, time(), "/");
16?>
17<HTML>
18<BODY BGCOLOR=FFFFFF>
19<?
20 echo "<BR><BR><TABLE BGCOLOR=FFFFFF BORDER=0 COLS=1 WIDTH=50% CELLSPACING=0 CELLPADDING=2 ALIGN=CENTER>";
21 echo " <TR BGCOLOR=A0B8C8 WIDTH=100%>";
22 echo " <TD ALIGN=CENTER>";
23 echo " <FONT FACE=\"Arial,Helvetica\"><B>Sign Out</B></FONT>";
24 echo " </TD>";
25 echo " </TR>";
26 echo " <TR BGCOLOR=FFFFFF WIDTH=100%>";
27 echo " <TD ALIGN=CENTER>";
28 echo " <FONT FACE=\"Arial,Helvetica\"><BR>You have been successfully signed out.<BR></FONT>";
29 echo " <FONT FACE=\"Arial,Helvetica\">Click here to <A HREF=\"login.php3\" TARGET=_top>log back in.</A></FONT><BR><BR>";
30 echo " </TD>";
31 echo " </TR>";
32 echo " <TR BGCOLOR=DCDCDC WIDTH=100%>";
33 echo " <TD ALIGN=CENTER>";
34 echo " <FONT FACE=\"Arial,Helvetica\"><BR></FONT>";
35 echo " </TD>";
36 echo " </TR>";
37 echo "</TABLE>";
38?>
39</BODY>
40</HTML>
41