<?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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to