/home/mjc1/public_html/html/m/logout.php


1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
    session_start
();
    if( isset(
$_COOKIE['USERID']) && $_COOKIE['USERID'] !== ""){

      
setcookie("USERID",  "",  time()-3600);
      
setcookie("USERID",  "",  time()-3600,"/");
      
$_SESSION['USERID'] = "";
    }
     
// session_destroy();
?>
<script>
 parent.location.href = "/html/m";
</script>