Hey guys im trying to use this code:
$cookTime = time()+60*60*24*100;
$name = $_SESSION['poster'];
$pword = $_SESSION['pword'];
setcookie('nineiron', $name.'|'.$pword.'|'.$cookTime, 0, '/', 'nineironmusic.co.uk', 0);
…to set a cookie but the cookie is being written with out the vars.
I can echo the vars $name and $pword out into the document put they arent being written to the cookie…any ideas?
Zaid