Code:
<?php
session_start();
if( !isset($_SESSION['user_name']) or ($_SESSION['user_id'] <=0)){
header("location:./admin_login.php");
}
?>
i checked for this error whole day in google. but everybody says there will be a space somewhere. but it is not.
I try this in WAMP it is working - local
but it is not working in XAMPP and in my website
Comment