Beispiel #1
0
function session_set_root_uri($uri = NULL)
{
    phpextension('uri');
    $uri = parse_url(uri_normalize($uri));
    ini_set('session.cookie_path', $uri['path']);
    ini_set('session.cookie_domain', $uri['host']);
}
Beispiel #2
0
 function create_cli_registeruser($password)
 {
     phpextension('key');
     $cookie = $this->create_dwordl(unique_key(0, 2));
     $null = $this->create_dwordl(0);
     return $this->create_tlv(1, $null . $this->create_wordl(40) . $this->create_wordl(3) . $null . $null . $cookie . $cookie . $null . $null . $null . $null . $this->create_lnts($password) . $cookie . chr(0) . chr(0) . chr(207) . chr(1));
 }