cookie to create php code example Example: php cookie setcookie ('name', 'value', $expiresOn, $path, $domain, $secure, $httponly)