[eluser]doors[/eluser]
You have any idea how to do this? I have the following code but it's not working:
Code:
set_cookie('test', 'test', 0);
if (get_cookie('test') == 'test'){
echo 'Cookie is enabled';
}
Why would this not work?
When I use $_COOKIE['test'] it works. So why when I use get_cookie() it doesn't.