I\'ve tried searching the php manual and internet on how to delete cookies and I\'ve tried it the exact same way they all say:
setcookie(\"name\", \'\', 1);
Ok, I really don't understand, but it works now. The magic code is:
setcookie("name", '', 1, $path);
Haven't I already tried that??! Whatever, it works now. Thanks for your help, people!