|
From: <se...@us...> - 2002-09-03 13:38:42
|
Update of /cvsroot/memship/memship
In directory usw-pr-cvs1:/tmp/cvs-serv15947
Modified Files:
logout.php
Log Message:
Ditched crap http authentication and added proper php authentication.
Looks crap but is better. Trust me.
Index: logout.php
===================================================================
RCS file: /cvsroot/memship/memship/logout.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** logout.php 21 Aug 2002 13:44:13 -0000 1.1
--- logout.php 3 Sep 2002 13:38:38 -0000 1.2
***************
*** 1,6 ****
<?php
! header("WWW-Authenticate: Basic realm=\":-!\"");
! header("HTTP/1.0 401 Unauthorized");
include('includes/head.php');
?>
--- 1,7 ----
<?php
! include('includes/liblogin.php');
include('includes/head.php');
+
+ session_destroy();
?>
|