I have this code to give a cookie more then one value...Is it correct? Thanks!
<?php
//Set the cookie
setcookie("gbx[email]", $email, $time, "/", "", 0);
setcookie("gbx[pw]", $pw, $time, "/", "", 0);
//Read the cookie
$cookies = $HTTP_COOKIE_VARS[gbx];
$email = $cookies[email];
$pw = $cookies[pw];
?>