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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? odbc.php

?? 視頻監(jiān)控網(wǎng)絡(luò)部分的協(xié)議ddns,的模塊的實(shí)現(xiàn)代碼,請(qǐng)大家大膽指正.
?? PHP
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
<?php/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: *//** * The PEAR DB driver for PHP's odbc extension * for interacting with databases via ODBC connections * * PHP versions 4 and 5 * * LICENSE: This source file is subject to version 3.0 of the PHP license * that is available through the world-wide-web at the following URI: * http://www.php.net/license/3_0.txt.  If you did not receive a copy of * the PHP License and are unable to obtain it through the web, please * send a note to license@php.net so we can mail you a copy immediately. * * @category   Database * @package    DB * @author     Stig Bakken <ssb@php.net> * @author     Daniel Convissor <danielc@php.net> * @copyright  1997-2005 The PHP Group * @license    http://www.php.net/license/3_0.txt  PHP License 3.0 * @version    CVS: $Id: odbc.php,v 1.78 2005/02/28 01:42:17 danielc Exp $ * @link       http://pear.php.net/package/DB *//** * Obtain the DB_common class so it can be extended from */require_once 'DB/common.php';/** * The methods PEAR DB uses to interact with PHP's odbc extension * for interacting with databases via ODBC connections * * These methods overload the ones declared in DB_common. * * More info on ODBC errors could be found here: * http://msdn.microsoft.com/library/default.asp?url=/library/en-us/trblsql/tr_err_odbc_5stz.asp * * @category   Database * @package    DB * @author     Stig Bakken <ssb@php.net> * @author     Daniel Convissor <danielc@php.net> * @copyright  1997-2005 The PHP Group * @license    http://www.php.net/license/3_0.txt  PHP License 3.0 * @version    Release: 1.7.6 * @link       http://pear.php.net/package/DB */class DB_odbc extends DB_common{    // {{{ properties    /**     * The DB driver type (mysql, oci8, odbc, etc.)     * @var string     */    var $phptype = 'odbc';    /**     * The database syntax variant to be used (db2, access, etc.), if any     * @var string     */    var $dbsyntax = 'sql92';    /**     * The capabilities of this DB implementation     *     * The 'new_link' element contains the PHP version that first provided     * new_link support for this DBMS.  Contains false if it's unsupported.     *     * Meaning of the 'limit' element:     *   + 'emulate' = emulate with fetch row by number     *   + 'alter'   = alter the query     *   + false     = skip rows     *     * NOTE: The feature set of the following drivers are different than     * the default:     *   + solid: 'transactions' = true     *   + navision: 'limit' = false     *     * @var array     */    var $features = array(        'limit'         => 'emulate',        'new_link'      => false,        'numrows'       => true,        'pconnect'      => true,        'prepare'       => false,        'ssl'           => false,        'transactions'  => false,    );    /**     * A mapping of native error codes to DB error codes     * @var array     */    var $errorcode_map = array(        '01004' => DB_ERROR_TRUNCATED,        '07001' => DB_ERROR_MISMATCH,        '21S01' => DB_ERROR_VALUE_COUNT_ON_ROW,        '21S02' => DB_ERROR_MISMATCH,        '22001' => DB_ERROR_INVALID,        '22003' => DB_ERROR_INVALID_NUMBER,        '22005' => DB_ERROR_INVALID_NUMBER,        '22008' => DB_ERROR_INVALID_DATE,        '22012' => DB_ERROR_DIVZERO,        '23000' => DB_ERROR_CONSTRAINT,        '23502' => DB_ERROR_CONSTRAINT_NOT_NULL,        '23503' => DB_ERROR_CONSTRAINT,        '23504' => DB_ERROR_CONSTRAINT,        '23505' => DB_ERROR_CONSTRAINT,        '24000' => DB_ERROR_INVALID,        '34000' => DB_ERROR_INVALID,        '37000' => DB_ERROR_SYNTAX,        '42000' => DB_ERROR_SYNTAX,        '42601' => DB_ERROR_SYNTAX,        'IM001' => DB_ERROR_UNSUPPORTED,        'S0000' => DB_ERROR_NOSUCHTABLE,        'S0001' => DB_ERROR_ALREADY_EXISTS,        'S0002' => DB_ERROR_NOSUCHTABLE,        'S0011' => DB_ERROR_ALREADY_EXISTS,        'S0012' => DB_ERROR_NOT_FOUND,        'S0021' => DB_ERROR_ALREADY_EXISTS,        'S0022' => DB_ERROR_NOSUCHFIELD,        'S1009' => DB_ERROR_INVALID,        'S1090' => DB_ERROR_INVALID,        'S1C00' => DB_ERROR_NOT_CAPABLE,    );    /**     * The raw database connection created by PHP     * @var resource     */    var $connection;    /**     * The DSN information for connecting to a database     * @var array     */    var $dsn = array();    /**     * The number of rows affected by a data manipulation query     * @var integer     * @access private     */    var $affected = 0;    // }}}    // {{{ constructor    /**     * This constructor calls <kbd>$this->DB_common()</kbd>     *     * @return void     */    function DB_odbc()    {        $this->DB_common();    }    // }}}    // {{{ connect()    /**     * Connect to the database server, log in and open the database     *     * Don't call this method directly.  Use DB::connect() instead.     *     * PEAR DB's odbc driver supports the following extra DSN options:     *   + cursor  The type of cursor to be used for this connection.     *     * @param array $dsn         the data source name     * @param bool  $persistent  should the connection be persistent?     *     * @return int  DB_OK on success. A DB_Error object on failure.     */    function connect($dsn, $persistent = false)    {        if (!PEAR::loadExtension('odbc')) {            return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND);        }        $this->dsn = $dsn;        if ($dsn['dbsyntax']) {            $this->dbsyntax = $dsn['dbsyntax'];        }        switch ($this->dbsyntax) {            case 'access':            case 'db2':            case 'solid':                $this->features['transactions'] = true;                break;            case 'navision':                $this->features['limit'] = false;        }        /*         * This is hear for backwards compatibility. Should have been using         * 'database' all along, but prior to 1.6.0RC3 'hostspec' was used.         */        if ($dsn['database']) {            $odbcdsn = $dsn['database'];        } elseif ($dsn['hostspec']) {            $odbcdsn = $dsn['hostspec'];        } else {            $odbcdsn = 'localhost';        }        $connect_function = $persistent ? 'odbc_pconnect' : 'odbc_connect';        if (empty($dsn['cursor'])) {            $this->connection = @$connect_function($odbcdsn, $dsn['username'],                                                   $dsn['password']);        } else {            $this->connection = @$connect_function($odbcdsn, $dsn['username'],                                                   $dsn['password'],                                                   $dsn['cursor']);        }        if (!is_resource($this->connection)) {            return $this->raiseError(DB_ERROR_CONNECT_FAILED,                                     null, null, null,                                     $this->errorNative());        }        return DB_OK;    }    // }}}    // {{{ disconnect()    /**     * Disconnects from the database server     *     * @return bool  TRUE on success, FALSE on failure     */    function disconnect()    {        $err = @odbc_close($this->connection);        $this->connection = null;        return $err;    }    // }}}    // {{{ simpleQuery()    /**     * Sends a query to the database server     *     * @param string  the SQL query string     *     * @return mixed  + a PHP result resrouce for successful SELECT queries     *                + the DB_OK constant for other successful queries     *                + a DB_Error object on failure     */    function simpleQuery($query)    {        $this->last_query = $query;        $query = $this->modifyQuery($query);        $result = @odbc_exec($this->connection, $query);        if (!$result) {            return $this->odbcRaiseError(); // XXX ERRORMSG        }        // Determine which queries that should return data, and which        // should return an error code only.        if (DB::isManip($query)) {            $this->affected = $result; // For affectedRows()            return DB_OK;        }        $this->affected = 0;        return $result;    }    // }}}    // {{{ nextResult()    /**     * Move the internal odbc result pointer to the next available result     *     * @param a valid fbsql result resource     *     * @access public     *     * @return true if a result is available otherwise return false     */    function nextResult($result)    {        return @odbc_next_result($result);    }    // }}}    // {{{ fetchInto()    /**     * Places a row from the result set into the given array     *     * Formating of the array and the data therein are configurable.     * See DB_result::fetchInto() for more information.     *     * This method is not meant to be called directly.  Use     * DB_result::fetchInto() instead.  It can't be declared "protected"     * because DB_result is a separate object.     *     * @param resource $result    the query result resource     * @param array    $arr       the referenced array to put the data in     * @param int      $fetchmode how the resulting array should be indexed     * @param int      $rownum    the row number to fetch (0 = first row)     *     * @return mixed  DB_OK on success, NULL when the end of a result set is     *                 reached or on failure     *     * @see DB_result::fetchInto()     */    function fetchInto($result, &$arr, $fetchmode, $rownum = null)    {        $arr = array();        if ($rownum !== null) {            $rownum++; // ODBC first row is 1            if (version_compare(phpversion(), '4.2.0', 'ge')) {                $cols = @odbc_fetch_into($result, $arr, $rownum);            } else {                $cols = @odbc_fetch_into($result, $rownum, $arr);            }        } else {            $cols = @odbc_fetch_into($result, $arr);        }        if (!$cols) {            return null;        }        if ($fetchmode !== DB_FETCHMODE_ORDERED) {            for ($i = 0; $i < count($arr); $i++) {                $colName = @odbc_field_name($result, $i+1);                $a[$colName] = $arr[$i];            }            if ($this->options['portability'] & DB_PORTABILITY_LOWERCASE) {                $a = array_change_key_case($a, CASE_LOWER);            }            $arr = $a;        }        if ($this->options['portability'] & DB_PORTABILITY_RTRIM) {            $this->_rtrimArrayValues($arr);        }        if ($this->options['portability'] & DB_PORTABILITY_NULL_TO_EMPTY) {            $this->_convertNullArrayValuesToEmpty($arr);        }        return DB_OK;    }    // }}}    // {{{ freeResult()    /**     * Deletes the result set and frees the memory occupied by the result set     *     * This method is not meant to be called directly.  Use     * DB_result::free() instead.  It can't be declared "protected"     * because DB_result is a separate object.     *     * @param resource $result  PHP's query result resource     *     * @return bool  TRUE on success, FALSE if $result is invalid     *     * @see DB_result::free()     */    function freeResult($result)    {        return @odbc_free_result($result);    }    // }}}    // {{{ numCols()    /**     * Gets the number of columns in a result set     *     * This method is not meant to be called directly.  Use     * DB_result::numCols() instead.  It can't be declared "protected"     * because DB_result is a separate object.     *     * @param resource $result  PHP's query result resource     *     * @return int  the number of columns.  A DB_Error object on failure.     *     * @see DB_result::numCols()     */    function numCols($result)    {        $cols = @odbc_num_fields($result);        if (!$cols) {            return $this->odbcRaiseError();        }        return $cols;    }    // }}}    // {{{ affectedRows()    /**     * Determines the number of rows affected by a data maniuplation query     *     * 0 is returned for queries that don't manipulate data.     *     * @return int  the number of rows.  A DB_Error object on failure.     */    function affectedRows()    {        if (empty($this->affected)) {  // In case of SELECT stms            return 0;        }        $nrows = @odbc_num_rows($this->affected);        if ($nrows == -1) {            return $this->odbcRaiseError();        }        return $nrows;    }    // }}}    // {{{ numRows()    /**     * Gets the number of rows in a result set     *     * Not all ODBC drivers support this functionality.  If they don't     * a DB_Error object for DB_ERROR_UNSUPPORTED is returned.     *     * This method is not meant to be called directly.  Use     * DB_result::numRows() instead.  It can't be declared "protected"     * because DB_result is a separate object.     *     * @param resource $result  PHP's query result resource     *     * @return int  the number of rows.  A DB_Error object on failure.     *     * @see DB_result::numRows()     */    function numRows($result)    {        $nrows = @odbc_num_rows($result);        if ($nrows == -1) {

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产v日产∨综合v精品视频| 91在线小视频| 一区二区三区电影在线播| 91片在线免费观看| 99综合影院在线| 日本成人中文字幕| 五月综合激情婷婷六月色窝| 国产又粗又猛又爽又黄91精品| 91在线看国产| 欧美日韩高清一区二区三区| 国产一区二区三区久久久| 午夜电影一区二区| 国产一区二区精品在线观看| 午夜成人免费视频| 国产在线精品一区二区不卡了| 日韩va欧美va亚洲va久久| 亚洲bt欧美bt精品| 国产精品18久久久久久久久久久久 | 国产乱子伦一区二区三区国色天香 | 亚洲成a人v欧美综合天堂下载| 亚洲欧洲日本在线| 午夜精品福利久久久| 国产精品青草综合久久久久99| caoporen国产精品视频| 国产成人亚洲精品青草天美| 裸体一区二区三区| 欧美性淫爽ww久久久久无| 欧美精品日韩精品| 中文字幕av不卡| 国产在线播放一区三区四| 91污在线观看| 久久久精品免费免费| 一区二区三区在线观看欧美 | 国产精品福利在线播放| 天天色 色综合| 欧美一区二区三区系列电影| 精品久久久久久亚洲综合网| 亚洲国产精品成人久久综合一区| 亚洲欧美日韩久久| 国内成人自拍视频| www.欧美精品一二区| 在线91免费看| 国产另类ts人妖一区二区| 欧美日韩精品二区第二页| 国产视频一区不卡| caoporn国产精品| 午夜天堂影视香蕉久久| 91同城在线观看| 久久国产精品露脸对白| 91麻豆成人久久精品二区三区| 精品乱人伦一区二区三区| 日韩精品一区第一页| 欧美三级在线视频| k8久久久一区二区三区 | 亚洲欧美日韩一区二区三区在线观看 | 国产精品女上位| 五月天久久比比资源色| 欧美精品久久一区| 色天天综合色天天久久| 亚洲国产欧美在线人成| 日韩欧美国产wwwww| 国产精品亚洲第一区在线暖暖韩国| 日韩欧美色电影| 欧美人伦禁忌dvd放荡欲情| 开心九九激情九九欧美日韩精美视频电影 | 毛片av中文字幕一区二区| 午夜一区二区三区在线观看| 国产精品水嫩水嫩| 精品国产伦一区二区三区观看体验 | 蜜桃视频一区二区| 国产精品一区二区无线| 色悠久久久久综合欧美99| 色国产精品一区在线观看| 91精品麻豆日日躁夜夜躁| 日韩视频在线一区二区| 国产福利精品导航| 97se亚洲国产综合在线| 色素色在线综合| 久久先锋影音av| 日一区二区三区| 99re成人在线| 国产午夜一区二区三区| 爽好久久久欧美精品| 99视频一区二区| 日韩一级完整毛片| 天堂蜜桃一区二区三区| 久久狠狠亚洲综合| 精品久久久久久综合日本欧美| 欧美国产欧美综合| 日本欧美在线看| 91官网在线免费观看| 中文字幕av免费专区久久| 久久不见久久见免费视频1| 国产高清视频一区| 99免费精品在线| 久久久美女艺术照精彩视频福利播放| 日韩av不卡一区二区| 日本高清不卡一区| 亚洲欧美国产77777| av成人老司机| 欧美激情一区二区三区四区| 美女在线视频一区| 日韩限制级电影在线观看| 国产精品久久久一本精品| 精品成人一区二区三区四区| 日韩av一二三| 全国精品久久少妇| 国产a级毛片一区| 成人久久18免费网站麻豆| 国产尤物一区二区| a级高清视频欧美日韩| 色婷婷精品大在线视频| 蜜臂av日日欢夜夜爽一区| 国产一区二区h| www..com久久爱| 欧美亚洲综合另类| 国产欧美一区二区精品秋霞影院| 久久久精品人体av艺术| 亚洲欧美日韩系列| 亚洲素人一区二区| 国产精品护士白丝一区av| 亚洲精品视频在线观看网站| 久久99精品国产麻豆婷婷洗澡| 久久夜色精品国产噜噜av| 精品欧美一区二区久久| 久久久777精品电影网影网| 亚洲精品高清在线观看| 91色|porny| 成人污污视频在线观看| 国产精品久久久久久久久果冻传媒| 久久综合国产精品| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 欧美精品一二三四| 亚洲成人免费在线观看| 91精品欧美综合在线观看最新| 精品亚洲成a人| 中文字幕一区二区三区精华液| 91成人网在线| 国产在线视视频有精品| 18欧美亚洲精品| 日韩欧美电影一区| 在线精品视频免费播放| 国产精品自在欧美一区| 亚洲激情五月婷婷| 日韩美女天天操| 91一区二区三区在线观看| 日韩有码一区二区三区| 亚洲天堂免费看| 国产日韩精品一区二区三区 | 久久亚洲精精品中文字幕早川悠里| 成人app软件下载大全免费| 日韩精品乱码av一区二区| 中文字幕第一区二区| 欧美日韩美少妇 | 国产亚洲一本大道中文在线| 91福利在线观看| 成人黄色小视频| 国产一区二区三区在线观看免费视频 | 在线精品视频免费播放| 国产成人精品1024| 久久成人免费网站| 三级不卡在线观看| 亚洲一卡二卡三卡四卡| ㊣最新国产の精品bt伙计久久| 在线观看亚洲精品| 97久久超碰国产精品| 狠狠色丁香久久婷婷综| 免费成人结看片| 日本91福利区| 免费看黄色91| 久久成人av少妇免费| 日韩福利电影在线观看| 亚洲成a天堂v人片| 日本视频一区二区| 一区二区三区中文字幕电影| 欧美精品一区二区三区视频| 色婷婷av一区二区三区大白胸| 不卡的av中国片| 婷婷开心久久网| 午夜视频在线观看一区二区三区 | 丝袜诱惑制服诱惑色一区在线观看 | 91丨国产丨九色丨pron| 成人激情黄色小说| 不卡的av电影在线观看| 狠狠色丁香久久婷婷综| 日韩成人精品在线观看| 日韩一区欧美二区| 日本美女一区二区三区| 日本三级韩国三级欧美三级| 日本亚洲视频在线| 精品亚洲欧美一区| 国产专区综合网| 一本色道久久加勒比精品| 色久优优欧美色久优优| 日韩免费观看高清完整版 | 国产精品久99| 2021久久国产精品不只是精品| 国产精品小仙女| 综合精品久久久| 蜜臀av性久久久久蜜臀aⅴ四虎|