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YTRXCIICUPTXKGQOIJSVSWPYVALIROWGVXDXGNSRVZOLEJHNRSUKHNTRJ"
-."LQZQKBEFXYKIPXJRZMQMJKUGCNUKBZBWABPLHMAJJZVBCWOQYCLSGDUKJSTHTVXV"
-."OUGJVADGJWGVNBNXYRZDSNLOZDIQRKOQAKJJDKXRMMTXRVTLOMTETNROPDYNXAGR";
-
$S_load_stat = array( 'rU_heavy' => 0,
'lL_laccgarb' => 0,
'wU_lacc_upd' => 0,
return ($ret);
} // function maincheck (...
-public static function stream_fini($is_unrecoverable)
+ public static function stream_fini($init_string, $is_unrecoverable)
{
- GLOBAL $G_four_rnd_string;
-
// IF IFRAME THEN:
$body = "";
$body .= sprintf("<html>
</script>
</head>
<body>");
- $body .= sprintf("<!-- \n%s -->\n", $G_four_rnd_string);
+ $body .= sprintf("<!-- \n%s -->\n", $init_string);
$body .= sprintf("<script id='hs%d' type='text/javascript'><!--
push(\"%s\");
// -->
stat
step
*/
-function stream_init(&$header_out, &$body, $get, $post, $cookie)
+function stream_init($init_string, &$header_out, &$body, $get, $post, $cookie)
{
- GLOBAL $G_four_rnd_string;
-
$curtime = time();
printf("CLASS: [%s] base: [%s]\n", get_class($this), self::base_get());
</script>
</head>
<body>");
- $body .= sprintf("<!-- \n%s -->\n", $G_four_rnd_string);
+ $body .= sprintf("<!-- \n%s -->\n", $init_string);
return TRUE;
}
function stream_main(&$body, $get, $post, $cookie)
{
GLOBAL $is_page_streaming, $G_splash_idx;
- // FIXME: only to test fwrite
- // GLOBAL $G_four_rnd_string;
$CO_splashdate = "CO_splashdate".$G_splash_idx;
if (($splashdate = gpcs_var("$CO_splashdate", $get, $post, $cookie)) === FALSE)
return ($ret);
}
-public static function stream_fini($is_unrecoverable)
+ public static function stream_fini($init_string, $is_unrecoverable)
{
- GLOBAL $G_four_rnd_string;
-
printf("xXx user::stream_fini\n");
// IF IFRAME THEN:
</script>
</head>
<body>");
- $body .= sprintf("<!-- \n%s -->\n", $G_four_rnd_string);
+ $body .= sprintf("<!-- \n%s -->\n", $init_string);
$body .= sprintf("<script id='hs%d' type='text/javascript'><!--
push(\"%s\");
// -->
|| !isset($cookie['sess'])
|| (($user = $bri->get_user($cookie['sess'], $idx)) == FALSE)) {
- $content = Bin5_user::stream_fini(TRUE);
+ $content = Bin5_user::stream_fini($s_a_p->rndstr, TRUE);
$s_a_p->pgflush_try_add($new_socket, 20, $header_out, $content);
return TRUE;
}
$content = "";
- $user->stream_init($header_out, $content, $get, $post, $cookie);
+ $user->stream_init($s_a_p->rndstr, $header_out, $content, $get, $post, $cookie);
$response = headers_render($header_out, -1).chunked_content($content);
$response_l = mb_strlen($response, "ASCII");