Skip to content
Hill Liu edited this page Feb 21, 2017 · 1 revision

Get cookie name

private function _getCookieName($one)
{   
    $reg = '/(set\-cookie\:)(\s)?([^\=]*)/i';
    preg_match($reg, $one, $matches);
    return \PMVC\get($matches,3);
}  
Clone this wiki locally