Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 13 lines (11 sloc) 0.31 kb
8e10f70 Lalit Khattar Initial commit
authored
1 <?php
2 include('../config.php');
3 if(isset($_COOKIE['session_id'])) {
4 $session_id = $_COOKIE['session_id'];
5 $sql = "DELETE FROM online WHERE session_id='".$session_id."'";
6 mysql_query($sql);
7 setcookie("session_id",$session_id,time());
8 header('location:index.php');
9
10 } else
11 header('location:index.php');
12 ?>
Something went wrong with that request. Please try again.