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'); }
>
Are you sure you want to delete this post?
We use a range of cookies to give you the best browsing experience. By continuing to use this website, you agree to our use of cookies.
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?