cookie保存分页参数

static private function getPageHash($url){
$path = parse_url($url);
$path = substr( $path['path'],0,4);
$path = substr( md5 ( isset($path)?$path:'action') ,0,6);
return $path;
}

posted @ 2015-10-09 17:59  九分  阅读(134)  评论(0编辑  收藏  举报