[php]<?php
$expire = time()-3600;
setcookie(‘user_id’, ‘’, $expire);
setcookie(‘user_email’, ‘’, $expire);
setcookie(‘user_name’, ‘’, $expire);
print_r($_COOKIE);
//header(‘Location: http://alexcoady.co.uk/coadate/’);
?>[/php]
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.