View file SimpleMember1.0/logout.php

File size: 1.29Kb
<?
#########################################################
# Simple Member 1.0                                     #
#########################################################
#                                                       #
# Created by: Doni Ronquillo                            #
#                                                       #
# This script and all included functions, images,       #
# and documentation are copyright 2003                  #
# free-php.net (http://free-php.net) unless             #
# otherwise stated in the module.                       #
#                                                       #
# Any copying, distribution, modification with          #
# intent to distribute as new code will result          #
# in immediate loss of your rights to use this          #
# program as well as possible legal action.             #
#                                                       #
#########################################################

	session_start();
	session_unregister('uid');
	session_unregister('pwd');

	require('main.php');

	db_connect();

	include(INC_DIR."header.php");
	echo "<br><b>User Logged Out</b> - Thanks for visiting!";
    	include(INC_DIR."login.php");
	include(INC_DIR."footer.php");

	db_disconnect();

?>