亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? openid.php

?? 沒什么功能
?? PHP
字號:
<?php/** * This is the PHP OpenID library by JanRain, Inc. * * This module contains core utility functionality used by the * library.  See Consumer.php and Server.php for the consumer and * server implementations. * * PHP versions 4 and 5 * * LICENSE: See the COPYING file included in this distribution. * * @package OpenID * @author JanRain, Inc. <openid@janrain.com> * @copyright 2005-2008 Janrain, Inc. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache *//** * The library version string */define('Auth_OpenID_VERSION', '2.1.2');/** * Require the fetcher code. */require_once "Auth/Yadis/PlainHTTPFetcher.php";require_once "Auth/Yadis/ParanoidHTTPFetcher.php";require_once "Auth/OpenID/BigMath.php";require_once "Auth/OpenID/URINorm.php";/** * Status code returned by the server when the only option is to show * an error page, since we do not have enough information to redirect * back to the consumer. The associated value is an error message that * should be displayed on an HTML error page. * * @see Auth_OpenID_Server */define('Auth_OpenID_LOCAL_ERROR', 'local_error');/** * Status code returned when there is an error to return in key-value * form to the consumer. The caller should return a 400 Bad Request * response with content-type text/plain and the value as the body. * * @see Auth_OpenID_Server */define('Auth_OpenID_REMOTE_ERROR', 'remote_error');/** * Status code returned when there is a key-value form OK response to * the consumer. The value associated with this code is the * response. The caller should return a 200 OK response with * content-type text/plain and the value as the body. * * @see Auth_OpenID_Server */define('Auth_OpenID_REMOTE_OK', 'remote_ok');/** * Status code returned when there is a redirect back to the * consumer. The value is the URL to redirect back to. The caller * should return a 302 Found redirect with a Location: header * containing the URL. * * @see Auth_OpenID_Server */define('Auth_OpenID_REDIRECT', 'redirect');/** * Status code returned when the caller needs to authenticate the * user. The associated value is a {@link Auth_OpenID_ServerRequest} * object that can be used to complete the authentication. If the user * has taken some authentication action, use the retry() method of the * {@link Auth_OpenID_ServerRequest} object to complete the request. * * @see Auth_OpenID_Server */define('Auth_OpenID_DO_AUTH', 'do_auth');/** * Status code returned when there were no OpenID arguments * passed. This code indicates that the caller should return a 200 OK * response and display an HTML page that says that this is an OpenID * server endpoint. * * @see Auth_OpenID_Server */define('Auth_OpenID_DO_ABOUT', 'do_about');/** * Defines for regexes and format checking. */define('Auth_OpenID_letters',       "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");define('Auth_OpenID_digits',       "0123456789");define('Auth_OpenID_punct',       "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");if (Auth_OpenID_getMathLib() === null) {    Auth_OpenID_setNoMathSupport();}/** * The OpenID utility function class. * * @package OpenID * @access private */class Auth_OpenID {    /**     * Return true if $thing is an Auth_OpenID_FailureResponse object;     * false if not.     *     * @access private     */    function isFailure($thing)    {        return is_a($thing, 'Auth_OpenID_FailureResponse');    }    /**     * Gets the query data from the server environment based on the     * request method used.  If GET was used, this looks at     * $_SERVER['QUERY_STRING'] directly.  If POST was used, this     * fetches data from the special php://input file stream.     *     * Returns an associative array of the query arguments.     *     * Skips invalid key/value pairs (i.e. keys with no '=value'     * portion).     *     * Returns an empty array if neither GET nor POST was used, or if     * POST was used but php://input cannot be opened.     *     * @access private     */    function getQuery($query_str=null)    {        $data = array();        if ($query_str !== null) {            $data = Auth_OpenID::params_from_string($query_str);        } else if (!array_key_exists('REQUEST_METHOD', $_SERVER)) {            // Do nothing.        } else {          // XXX HACK FIXME HORRIBLE.          //          // POSTing to a URL with query parameters is acceptable, but          // we don't have a clean way to distinguish those parameters          // when we need to do things like return_to verification          // which only want to look at one kind of parameter.  We're          // going to emulate the behavior of some other environments          // by defaulting to GET and overwriting with POST if POST          // data is available.          $data = Auth_OpenID::params_from_string($_SERVER['QUERY_STRING']);          if ($_SERVER['REQUEST_METHOD'] == 'POST') {            $str = file_get_contents('php://input');            if ($str === false) {              $post = array();            } else {              $post = Auth_OpenID::params_from_string($str);            }            $data = array_merge($data, $post);          }        }        return $data;    }    function params_from_string($str)    {        $chunks = explode("&", $str);        $data = array();        foreach ($chunks as $chunk) {            $parts = explode("=", $chunk, 2);            if (count($parts) != 2) {                continue;            }            list($k, $v) = $parts;            $data[$k] = urldecode($v);        }        return $data;    }    /**     * Create dir_name as a directory if it does not exist. If it     * exists, make sure that it is, in fact, a directory.  Returns     * true if the operation succeeded; false if not.     *     * @access private     */    function ensureDir($dir_name)    {        if (is_dir($dir_name) || @mkdir($dir_name)) {            return true;        } else {            $parent_dir = dirname($dir_name);            // Terminal case; there is no parent directory to create.            if ($parent_dir == $dir_name) {                return true;            }            return (Auth_OpenID::ensureDir($parent_dir) && @mkdir($dir_name));        }    }    /**     * Adds a string prefix to all values of an array.  Returns a new     * array containing the prefixed values.     *     * @access private     */    function addPrefix($values, $prefix)    {        $new_values = array();        foreach ($values as $s) {            $new_values[] = $prefix . $s;        }        return $new_values;    }    /**     * Convenience function for getting array values.  Given an array     * $arr and a key $key, get the corresponding value from the array     * or return $default if the key is absent.     *     * @access private     */    function arrayGet($arr, $key, $fallback = null)    {        if (is_array($arr)) {            if (array_key_exists($key, $arr)) {                return $arr[$key];            } else {                return $fallback;            }        } else {            trigger_error("Auth_OpenID::arrayGet (key = ".$key.") expected " .                          "array as first parameter, got " .                          gettype($arr), E_USER_WARNING);            return false;        }    }    /**     * Replacement for PHP's broken parse_str.     */    function parse_str($query)    {        if ($query === null) {            return null;        }        $parts = explode('&', $query);        $new_parts = array();        for ($i = 0; $i < count($parts); $i++) {            $pair = explode('=', $parts[$i]);            if (count($pair) != 2) {                continue;            }            list($key, $value) = $pair;            $new_parts[$key] = urldecode($value);        }        return $new_parts;    }    /**     * Implements the PHP 5 'http_build_query' functionality.     *     * @access private     * @param array $data Either an array key/value pairs or an array     * of arrays, each of which holding two values: a key and a value,     * sequentially.     * @return string $result The result of url-encoding the key/value     * pairs from $data into a URL query string     * (e.g. "username=bob&id=56").     */    function httpBuildQuery($data)    {        $pairs = array();        foreach ($data as $key => $value) {            if (is_array($value)) {                $pairs[] = urlencode($value[0])."=".urlencode($value[1]);            } else {                $pairs[] = urlencode($key)."=".urlencode($value);            }        }        return implode("&", $pairs);    }    /**     * "Appends" query arguments onto a URL.  The URL may or may not     * already have arguments (following a question mark).     *     * @access private     * @param string $url A URL, which may or may not already have     * arguments.     * @param array $args Either an array key/value pairs or an array of     * arrays, each of which holding two values: a key and a value,     * sequentially.  If $args is an ordinary key/value array, the     * parameters will be added to the URL in sorted alphabetical order;     * if $args is an array of arrays, their order will be preserved.     * @return string $url The original URL with the new parameters added.     *     */    function appendArgs($url, $args)    {        if (count($args) == 0) {            return $url;        }        // Non-empty array; if it is an array of arrays, use        // multisort; otherwise use sort.        if (array_key_exists(0, $args) &&            is_array($args[0])) {            // Do nothing here.        } else {            $keys = array_keys($args);            sort($keys);            $new_args = array();            foreach ($keys as $key) {                $new_args[] = array($key, $args[$key]);            }            $args = $new_args;        }        $sep = '?';        if (strpos($url, '?') !== false) {            $sep = '&';        }        return $url . $sep . Auth_OpenID::httpBuildQuery($args);    }    /**     * Implements python's urlunparse, which is not available in PHP.     * Given the specified components of a URL, this function rebuilds     * and returns the URL.     *     * @access private     * @param string $scheme The scheme (e.g. 'http').  Defaults to 'http'.     * @param string $host The host.  Required.     * @param string $port The port.     * @param string $path The path.     * @param string $query The query.     * @param string $fragment The fragment.     * @return string $url The URL resulting from assembling the     * specified components.     */    function urlunparse($scheme, $host, $port = null, $path = '/',                        $query = '', $fragment = '')    {        if (!$scheme) {            $scheme = 'http';        }        if (!$host) {            return false;        }        if (!$path) {            $path = '';        }        $result = $scheme . "://" . $host;        if ($port) {            $result .= ":" . $port;        }        $result .= $path;        if ($query) {            $result .= "?" . $query;        }        if ($fragment) {            $result .= "#" . $fragment;        }        return $result;    }    /**     * Given a URL, this "normalizes" it by adding a trailing slash     * and / or a leading http:// scheme where necessary.  Returns     * null if the original URL is malformed and cannot be normalized.     *     * @access private     * @param string $url The URL to be normalized.     * @return mixed $new_url The URL after normalization, or null if     * $url was malformed.     */    function normalizeUrl($url)    {        @$parsed = parse_url($url);        if (!$parsed) {            return null;        }        if (isset($parsed['scheme']) &&            isset($parsed['host'])) {            $scheme = strtolower($parsed['scheme']);            if (!in_array($scheme, array('http', 'https'))) {                return null;            }        } else {            $url = 'http://' . $url;        }        $normalized = Auth_OpenID_urinorm($url);        if ($normalized === null) {            return null;        }        list($defragged, $frag) = Auth_OpenID::urldefrag($normalized);        return $defragged;    }    /**     * Replacement (wrapper) for PHP's intval() because it's broken.     *     * @access private     */    function intval($value)    {        $re = "/^\\d+$/";        if (!preg_match($re, $value)) {            return false;        }        return intval($value);    }    /**     * Count the number of bytes in a string independently of     * multibyte support conditions.     *     * @param string $str The string of bytes to count.     * @return int The number of bytes in $str.     */    function bytes($str)    {        return strlen(bin2hex($str)) / 2;    }    /**     * Get the bytes in a string independently of multibyte support     * conditions.     */    function toBytes($str)    {        $hex = bin2hex($str);        if (!$hex) {            return array();        }        $b = array();        for ($i = 0; $i < strlen($hex); $i += 2) {            $b[] = chr(base_convert(substr($hex, $i, 2), 16, 10));        }        return $b;    }    function urldefrag($url)    {        $parts = explode("#", $url, 2);        if (count($parts) == 1) {            return array($parts[0], "");        } else {            return $parts;        }    }    function filter($callback, &$sequence)    {        $result = array();        foreach ($sequence as $item) {            if (call_user_func_array($callback, array($item))) {                $result[] = $item;            }        }        return $result;    }    function update(&$dest, &$src)    {        foreach ($src as $k => $v) {            $dest[$k] = $v;        }    }    /**     * Wrap PHP's standard error_log functionality.  Use this to     * perform all logging. It will interpolate any additional     * arguments into the format string before logging.     *     * @param string $format_string The sprintf format for the message     */    function log($format_string)    {        $args = func_get_args();        $message = call_user_func_array('sprintf', $args);        error_log($message);    }    function autoSubmitHTML($form, $title="OpenId transaction in progress")    {        return("<html>".               "<head><title>".               $title .               "</title></head>".               "<body onload='document.forms[0].submit();'>".               $form .               "<script>".               "var elements = document.forms[0].elements;".               "for (var i = 0; i < elements.length; i++) {".               "  elements[i].style.display = \"none\";".               "}".               "</script>".               "</body>".               "</html>");    }}?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩av一区二区在线影视| 国产日韩精品一区| 午夜精品久久久久久久| 在线视频你懂得一区二区三区| 亚洲精品国产精品乱码不99| 在线精品国精品国产尤物884a| 亚洲第一搞黄网站| 日韩三级伦理片妻子的秘密按摩| 久久精品av麻豆的观看方式| 国产欧美日韩三级| 色先锋久久av资源部| 亚洲一区二区免费视频| 日韩精品一区二| 国产成+人+日韩+欧美+亚洲| 一区二区三区在线视频观看58| 欧美三级视频在线播放| 黑人巨大精品欧美一区| 一区在线观看视频| 欧美精品777| 国产成人aaaa| 亚洲综合清纯丝袜自拍| 日韩一区二区麻豆国产| www.亚洲精品| 免费观看成人鲁鲁鲁鲁鲁视频| 久久蜜桃av一区二区天堂| 91久久精品日日躁夜夜躁欧美| 蜜桃av一区二区在线观看| 91网站最新地址| 日韩av一二三| 中文字幕在线不卡国产视频| 欧美一级片在线观看| 成人激情电影免费在线观看| 日韩电影在线免费观看| 成人免费一区二区三区视频 | 天堂成人免费av电影一区| 精品国产乱码久久久久久久| 91同城在线观看| 麻豆91免费看| 亚洲一区二区三区自拍| 久久久激情视频| 欧美精品免费视频| 99久久精品免费精品国产| 久久精品国产精品亚洲精品 | 欧美色手机在线观看| 国产伦精一区二区三区| 午夜精品国产更新| 亚洲欧洲99久久| 久久午夜羞羞影院免费观看| 欧美午夜一区二区| 北岛玲一区二区三区四区| 久久99热这里只有精品| 亚洲成人动漫一区| 亚洲欧美一区二区三区孕妇| 国产校园另类小说区| 日韩精品一区在线观看| 欧美综合欧美视频| 99riav久久精品riav| 风间由美一区二区三区在线观看| 日本中文字幕一区二区视频| 亚洲午夜在线视频| 中文字幕一区二区不卡| 国产精品网友自拍| 久久青草国产手机看片福利盒子| 久久久久久久久久电影| 欧美不卡一区二区三区| 7777精品伊人久久久大香线蕉最新版 | 精品视频在线看| 91亚洲精华国产精华精华液| 成人理论电影网| 国产成人无遮挡在线视频| 激情综合色综合久久综合| 男男视频亚洲欧美| 蜜臀精品久久久久久蜜臀| 婷婷夜色潮精品综合在线| 一区二区三区小说| 亚洲精品中文在线观看| 一区二区视频在线| 一区二区三区久久| 亚洲高清视频在线| 视频在线观看一区| 青椒成人免费视频| 久久99精品久久久久婷婷| 极品美女销魂一区二区三区| 经典三级视频一区| 国产成人免费网站| gogogo免费视频观看亚洲一| 91视频在线观看| 欧美视频你懂的| 3d成人h动漫网站入口| 精品av久久707| 国产喷白浆一区二区三区| 中文字幕欧美一| 亚洲18影院在线观看| 偷拍自拍另类欧美| 精品中文字幕一区二区小辣椒 | 成人黄色在线网站| 日韩欧美在线影院| 久久久91精品国产一区二区三区| 中文av字幕一区| 一区二区不卡在线播放| 午夜av一区二区三区| 精品一区中文字幕| 91偷拍与自偷拍精品| 欧美精品欧美精品系列| 久久久精品国产免费观看同学| 国产精品麻豆久久久| 午夜精品福利一区二区三区蜜桃| 精品一区二区三区在线视频| 99热99精品| 91精品国产免费| 国产精品九色蝌蚪自拍| 天堂va蜜桃一区二区三区| 国产福利视频一区二区三区| 91九色02白丝porn| wwwwxxxxx欧美| 亚洲影院久久精品| 韩国精品免费视频| 欧美亚洲国产bt| 久久精品网站免费观看| 亚洲成av人片在www色猫咪| 国产乱码字幕精品高清av| 91久久一区二区| 国产视频不卡一区| 日韩国产精品久久久久久亚洲| 国产一区二区三区蝌蚪| 欧美日韩专区在线| 国产精品私人影院| 久久99国产精品麻豆| 91国产免费看| 欧美激情资源网| 毛片av一区二区| 欧美无乱码久久久免费午夜一区| 国产日产欧美一区二区三区| 日韩国产在线观看一区| 91一区二区三区在线播放| 亚洲精品视频自拍| 国产一区二区三区观看| 欧美日韩电影一区| 亚洲欧美偷拍另类a∨色屁股| 蜜桃免费网站一区二区三区| 欧美吞精做爰啪啪高潮| 中文字幕一区不卡| 国产精品影视在线| 欧美一级午夜免费电影| 亚洲一区二区在线视频| 99久久亚洲一区二区三区青草| 久久中文娱乐网| 免费日韩伦理电影| 宅男在线国产精品| 亚洲成av人片观看| 在线观看www91| 一区二区欧美国产| 一本一道久久a久久精品| 欧美国产综合色视频| 韩国一区二区三区| 精品免费视频.| 久久精品99国产精品| 日韩一区二区免费视频| 免费人成精品欧美精品| 777奇米成人网| 日本强好片久久久久久aaa| 5月丁香婷婷综合| 水野朝阳av一区二区三区| 欧美日韩在线播放一区| 一区二区三区不卡视频在线观看| 色综合欧美在线视频区| 亚洲欧美日韩在线播放| 色婷婷亚洲综合| 亚洲国产成人av| 欧美日本韩国一区二区三区视频| 亚洲成人自拍一区| 欧美高清视频在线高清观看mv色露露十八 | 亚洲伊人伊色伊影伊综合网| 色94色欧美sute亚洲线路二| 亚洲愉拍自拍另类高清精品| 欧美日韩在线播放三区| 日本在线不卡视频一二三区| 欧美大胆人体bbbb| 国产精品一区二区三区乱码| 国产天堂亚洲国产碰碰| 99麻豆久久久国产精品免费优播| 亚洲视频在线一区观看| 色国产综合视频| 无吗不卡中文字幕| 欧美成人在线直播| 成人免费高清在线| 亚洲乱码国产乱码精品精小说| 欧美特级限制片免费在线观看| 丝袜诱惑制服诱惑色一区在线观看| 日韩欧美国产一区二区三区| 风间由美性色一区二区三区| 亚洲私人黄色宅男| 蜜臀av亚洲一区中文字幕| 精品国产91久久久久久久妲己| 国产成人自拍网| 亚洲国产精品综合小说图片区| 日韩精品中文字幕一区| 成人a免费在线看| 天天色综合成人网| 国产日韩精品一区二区浪潮av|