Trouble deleting cookies


$expire = time()-3600;

setcookie(‘user_id’, ‘’, $expire);
setcookie(‘user_email’, ‘’, $expire);
setcookie(‘user_name’, ‘’, $expire);




I’m desperately trying to delete these cookies as part of a sign in and out script. I’ve commented out the header section, and the print_r function shows all 3 cookies as their original values. I’m sure the syntax is correct, can anybody help?

Thanks in advance.

Sponsor our Newsletter | Privacy Policy | Terms of Service