0, 'path' => '/', 'secure' => true, 'httponly' => true]); } else{ setcookie('color-scheme', $colorScheme, ['expires' => strtotime('+10 years'), 'path' => '/', 'secure' => true, 'httponly' => true]); } // HTTP 303, See other http_response_code(303); header('Location: /settings'); ?>