set_cookie($name[, $value = ''[, $expire = ''[, $domain = ''[, $path = '/'[, $prefix = ''[, $secure = FALSE[, $httponly = FALSE]]]]]]])
Parameters:
$name (mixed) – Cookie name or associative array of all of the parameters available to this function
$value (string) – Cookie value
$expire (int) – Number of seconds until expiration
$domain (string) – Cookie domain (usually: .yourdomain.com)
$path (string) – Cookie path
$prefix (string) – Cookie name prefix
$secure (bool) – Whether to on