Location: PHPKode > scripts > Free Yahoo Answers Clone Script > admin/logout.php
<?php
	session_start();
	require_once "../includes/configuration.php";
	require_once "../includes/classes/class.database.php";

	$_SESSION['username']='';
	$_SESSION['password']='';
	session_destroy();
	header("location:index.php");
	exit;
?>
Return current item: Free Yahoo Answers Clone Script