C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\webboard\logout.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/* $Id: logout.php,v 1.1.1.1 2002/10/28 19:13:47 pbaecher Exp $ */
/*
          ThWboard - PHP/MySQL Bulletin Board System
        ==============================================
            (c) 2000, 2001 by
               Paul Baecher         <paul@thewall.de>
               Felix Gonschorek   <funner@thewall.de>

          download the latest version:
            http://www.thwboard.de

          This  program is  free  software;  you can
          redistribute it and/or modify it under the
          terms of the GNU General Public License as
          published by the Free Software Foundation;
          either  version 2 of  the License,  or (at
          your option) any later version.

        ==============================================

*/
require('./inc/header.inc.php');

setcookie("thwb_cookie");

thwb_query("DELETE FROM $pref"."online WHERE userid='$g_user[userid]'");

//header("Location: index.php");
message_redirect('Sie wurden erfolgreich ausgeloggt, bitte warten ...''index.php');
?>