Re: log out

From: Date: Wed, 19 Sep 2001 16:27:16 +0000
Subject: Re: log out
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12597@lists.php.net to get a copy of this message
Try: <?php session_start() ; session_destroy() ; header("Location: http://$HTTP_HOST/mall/menu.php") ; ?> You need to capitalize the 'L' in "Location" (HTTP headers are case-sensitive). HTH, Colter Reed On 9/12/01 5:54 AM, in article 200109121154.EAA31394@mail2.bigmailbox.com, "Its Me" <fotna@egypt.net> wrote: > <?php > session_start(); > session_destroy(); > header("location:http://$HTTP_HOST/mall/menu.php"); > ?> > > i wanna make this my log out page. > it works without the: > header("location:http://$HTTP_HOST/mall/menu.php"); > > i tried to put it befor session_destroy() > but still didn't work???

« previous php.db (#12597) next »