X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fspush%2Fsac-a-push.phh;h=fef79ac92a7c432e0e262cad070fea1bf7e6c0e9;hb=891d36866274e1fe44c12751d2fda0f18b4426d5;hp=8dfea848462c93da151ac5acf7b16ae423597e17;hpb=d96c30d2cdb27c9314474b8902f70fe69d88119b;p=brisk.git diff --git a/web/spush/sac-a-push.phh b/web/spush/sac-a-push.phh index 8dfea84..fef79ac 100644 --- a/web/spush/sac-a-push.phh +++ b/web/spush/sac-a-push.phh @@ -1,6 +1,6 @@ 1) { $a = explode('&', $get_vars[1]); printf("A COUNT: [%s] %d\n", $a[0], count($a)); @@ -47,7 +60,20 @@ function spu_process_info($stream_info, &$header, &$get, &$post) $split = explode(":", $line, 2); $header[$split[0]] = $split[1]; } - return $method; + return $path; } -?> \ No newline at end of file +function gpcs_var($name, $get, $post, $cookie) +{ + if (isset($GLOBALS[$name])) + return FALSE; + else if (isset($cookie[$name])) + return ($cookie[$name]); + else if (isset($post[$name])) + return ($post[$name]); + else if (isset($get[$name])) + return ($get[$name]); + + return FALSE; +} +?>