- Joined
- Apr 24, 2011
- Messages
- 1,235
- Reaction score
- 405
how do i create a log out page using php?
If You Need My Logged_in.php Here It Is
If You Could Help Me That Would be Great.
After WE Have Created the Log_out.php how would i add it to my menu?
ill post screeny of where i want it to go
If You Need My Logged_in.php Here It Is
PHP:
<?
include "config.php";
include "func.ban.php";
checkban($_SERVER['REMOTE_ADDR']);
?>
<?
session_start();
include_once "includes/db_connect.php";
include_once "includes/functions.php";
logincheck();
?>
<html>
<head>
<link rel="shortcut icon" href="favicon.ico.png">
<title>Way of The Mafia</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel=stylesheet href=includes/in.css type=text/css>
</head>
<frameset rows="*" cols="168,*" frameborder="no" border="0" framespacing="0">
<frame src="menu.php" name="leftFrame" scrolling="auto" noresize="noresize" id="leftFrame" title="leftFrame">
<? if($info->bann == "0"){ ?>
<frameset rows="68,*" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="banner.php" name="banner" scrolling="No" noresize="noresize" id="topFrame" title="topFrame">
<? } ?>
<frameset rows="24,*" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="mini.php" name="topFrame" scrolling="NO" noresize >
<frameset rows="*" cols="*<? if($info->box == "0"){ ?>,180<? } ?>" frameborder="no" border="0" framespacing="0">
<frame src="story.php" name="middle" id="mainFrame" title="mainFrame">
<? if($info->box == "0"){ ?>
<frame src="/chat/index.php" name="shoutbox" scrolling="auto" noresize="noresize" id="shoutbox" title="shoutbox">
<? } ?>
</frameset>
</frameset>
</frameset>
</frameset>
<noframes><body></frameset>
</body></noframes>
</html>
If You Could Help Me That Would be Great.
After WE Have Created the Log_out.php how would i add it to my menu?
ill post screeny of where i want it to go

