Posted by Hendri Kurniawan on 01/11/07 22:07
Jeff wrote:
>
> ************* complete index.php *********************
> <?php
> session_start();
> if ($_GET["mode"] == "logout") {
> header("Location: index.php");
> }
> ?>
>
>
Simply add exit() after your header statement to:
<?php
session_start();
if ($_GET["mode"] == "logout") {
header("Location: index.php");
exit();
}
?>
Hendri Kurniawan
Navigation:
[Reply to this message]
|