Code Search for Developers
 
 
  

logout.php from pointcarre at Krugle


Show logout.php syntax highlighted

<?php
/**
============================================================================== 
*	@package dokeos.forum
============================================================================== 
*/

/***************************************************************************
                          logout.php  -  description
                             -------------------
    begin                : Wed June 19 2000
    copyright            : (C) 2001 The phpBB Group
    email                : support@phpbb.com

    $Id: logout.php 2 2005-07-15 13:01:38Z roane $

 ***************************************************************************/

/***************************************************************************
 *                                         				                                
 *   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.
 *
 ***************************************************************************/

/**
 * logout.php - Nathan Codding
 * - Used for logging out a user and deleting a session.
 */
include('extention.inc');
include('functions.'.$phpEx);
include('config.'.$phpEx);
require('auth.'.$phpEx);
$pagetitle = $l_logout;
$pagetype = "logout";

/* Note: page_header.php is included later on, because this page needs to be able to send a cookie. */

if ($user_logged_in) {
	end_user_session($userdata[user_id], $db);
}

	header("Location: $url_phpbb/index.$phpEx");
require('page_tail.'.$phpEx);
?>




See more files for this project here

pointcarre

Pointcarre - a learning management system based on the Dokeos community releases. No fork, but containing locally developed extensions, features not (yet) in the standard release, integrated plugins...

Project homepage: http://sourceforge.net/projects/pointcarre
Programming language(s): PHP
License: other

  language/
    README
    index.html
    lang_arabic.php
    lang_big5_chinese.php
    lang_brazilian.php
    lang_bulgarian.php
    lang_catalan.php
    lang_croatian.php
    lang_danish.php
    lang_dutch.php
    lang_english.php
    lang_english_org.php
    lang_finnish.php
    lang_french.php
    lang_french_org.php
    lang_galician.php
    lang_german.php
    lang_greek.php
    lang_indonesian.php
    lang_italian.php
    lang_japanese.php
    lang_malay.php
    lang_mexican_spanish.php
    lang_nederlands.php
    lang_persian.php
    lang_polish.php
    lang_portuguese.php
    lang_portuguese_brazil.php
    lang_russian.php
    lang_serbian.php
    lang_simpl_chinese.php
    lang_slovenian.php
    lang_spanish.php
    lang_spanish_latin.php
    lang_swedish.php
    lang_thai.php
    lang_turkce.php
    lang_vietnamese.php
  auth.php
  bb_memberlist.php
  bb_profile.php
  builder.php
  config.php
  delpmsg.php
  editpost.php
  extention.inc
  functions.php
  index.php
  login.php
  logout.php
  newtopic.php
  page_header.php
  page_tail.php
  prefs.php
  reply.php
  replypmsg.php
  search.php
  sendpmsg.php
  thread_view.inc.php
  topicadmin.php
  viewforum.php
  viewpmsg.php
  viewtopic.php
  whosonline.php