hi,i am making a php script,i need help in cookie system,i made a login page,after login its saving cookie information to my pc when using in xampp,but when trying in kloxo its not saving the cookie,also header redirect not working,please help guys.
my cookie:
retriving value using:
and i am trying to redirect it using:
my cookie:
PHP:
setcookie('user', $user, time()+3600);
retriving value using:
PHP:
$_COOKIE['user'];
and i am trying to redirect it using:
PHP:
header ("Location: index.php");
---------- Post added at 09:40 PM ---------- Previous post was at 12:29 PM ----------
solved!