cookie()
cookie(string $key, string $value, integer $expire, string $path = '/', string $domain = '', boolean $secure = false, boolean $httponly = false)
设置Cookie
Parameters
string |
$key |
|
string |
$value |
|
integer |
$expire |
|
string |
$path |
|
string |
$domain |
|
boolean |
$secure |
|
boolean |
$httponly |
|