首页 > 代码库 > shopnc-setNcCookie-后台验证码

shopnc-setNcCookie-后台验证码

function setNcCookie($name, $value, $expire=‘3600‘, $path=‘‘, $domain=‘.a.cn‘, $secure=false){
if (empty($path)) $path = ‘/‘;
if (empty($domain)) $domain = SUBDOMAIN_SUFFIX ? SUBDOMAIN_SUFFIX : ‘‘;

要修改$domain为线上的域名

 

shopnc-setNcCookie-后台验证码