Please provide this code on top your all page. Which you want to login-controlled.
First create session username or your choice then use this code...
<?php
session_start();
if(!empty($_SESSION['username'])) { }
else { header('location:login.php'); }
>Please provide this code on top your all page. Which you want to login-controlled.
First create session username or your choice then use this code...
<?php
session_start();
if(!empty($_SESSION['username'])) { }
else { header('location:login.php'); }
>
obaidul100
First create session username or your choice then use this code...
<?php
session_start();
if(!empty($_SESSION['username'])) { }
else { header('location:login.php'); }
> Please provide this code on top your all page. Which you want to login-controlled. First create session username or your choice then use this code... <?php session_start(); if(!empty($_SESSION['username'])) { } else { header('location:login.php'); } >
Are you sure you want to delete this post?