ok
Direktori : /home/u732469475/domains/balajigrills.com/public_html/admin/ |
Current File : /home/u732469475/domains/balajigrills.com/public_html/admin/session.php |
<?php include'config.php'; session_start();// Starting Session // Storing Session $user_check=$_SESSION['login_user']; // SQL Query To Fetch Complete Information Of User $ses_sql=mysql_query("select username from login where username='$user_check'"); $row = mysql_fetch_assoc($ses_sql); $login_session =$row['username']; if(!isset($login_session)){ mysql_close($connection); // Closing Connection header('Location: home.php'); // Redirecting To Home Page } ?>