Parameter description and usage of the phpsetcookie function. Phpsetcookie parameter description usage: setcookie (name, value, expire, path, domain, secure) parameter description name is required. Specifies the cookie name. Value is required. Specifies the cookie value. descriptions of parameters of the php setcookie function
Usage:
Setcookie (name, value, expire, path, domain, secure)
Parameter description
Name is required. Specifies the cookie name.
Value is required. Specifies the cookie value.
Expire is optional. Specifies the cookie validity period.
Path is optional. Specifies the server path of the cookie.
Domain is optional. Specifies the domain name of the cookie.
Secure is optional. Specifies whether to transmit cookies through secure HTTPS connections.
Setcookie ("webURL", "www.bc5u.com", time () + 3600*24 );
Http://www.bkjia.com/PHPjc/756681.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/756681.htmlTechArticlephp setcookie function parameter description usage: setcookie (name, value, expire, path, domain, secure) parameter description name is required. Specifies the cookie name. Value is required. Specifies the cookie value...