RE: [PHP-DB] Re: log out

From: Date: Wed, 19 Sep 2001 16:41:16 +0000
Subject: RE: [PHP-DB] Re: log out
Groups: php.db 
Request: Send a blank email to php-db+get-12599@lists.php.net to get a copy of this message
the header() function MUST be sent prior to any other output. Otherwise, it will fail. What else in the page precedes the header()? --------------------------------------------- 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??? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#12599) next »