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

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

?? mdb2.php

?? This is the script which used on 10minutemail.com for temporary email.
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
<?php
// vim: set et ts=4 sw=4 fdm=marker:
// +----------------------------------------------------------------------+
// | PHP versions 4 and 5                                                 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1998-2006 Manuel Lemos, Tomas V.V.Cox,                 |
// | Stig. S. Bakken, Lukas Smith                                         |
// | All rights reserved.                                                 |
// +----------------------------------------------------------------------+
// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB  |
// | API as well as database abstraction for PHP applications.            |
// | This LICENSE is in the BSD license style.                            |
// |                                                                      |
// | Redistribution and use in source and binary forms, with or without   |
// | modification, are permitted provided that the following conditions   |
// | are met:                                                             |
// |                                                                      |
// | Redistributions of source code must retain the above copyright       |
// | notice, this list of conditions and the following disclaimer.        |
// |                                                                      |
// | Redistributions in binary form must reproduce the above copyright    |
// | notice, this list of conditions and the following disclaimer in the  |
// | documentation and/or other materials provided with the distribution. |
// |                                                                      |
// | Neither the name of Manuel Lemos, Tomas V.V.Cox, Stig. S. Bakken,    |
// | Lukas Smith nor the names of his contributors may be used to endorse |
// | or promote products derived from this software without specific prior|
// | written permission.                                                  |
// |                                                                      |
// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  |
// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT    |
// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS    |
// | FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE      |
// | REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,          |
// | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
// | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS|
// |  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED  |
// | AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT          |
// | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY|
// | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE          |
// | POSSIBILITY OF SUCH DAMAGE.                                          |
// +----------------------------------------------------------------------+
// | Author: Lukas Smith <smith@pooteeweet.org>                           |
// +----------------------------------------------------------------------+
//
// $Id: MDB2.php,v 1.275 2006/11/02 07:52:37 lsmith Exp $
//

/**
 * @package     MDB2
 * @category    Database
 * @author      Lukas Smith <smith@pooteeweet.org>
 */

require_once 'PEAR.php';

// {{{ Error constants

/**
 * The method mapErrorCode in each MDB2_dbtype implementation maps
 * native error codes to one of these.
 *
 * If you add an error code here, make sure you also add a textual
 * version of it in MDB2::errorMessage().
 */

define('MDB2_OK',                      true);
define('MDB2_ERROR',                     -1);
define('MDB2_ERROR_SYNTAX',              -2);
define('MDB2_ERROR_CONSTRAINT',          -3);
define('MDB2_ERROR_NOT_FOUND',           -4);
define('MDB2_ERROR_ALREADY_EXISTS',      -5);
define('MDB2_ERROR_UNSUPPORTED',         -6);
define('MDB2_ERROR_MISMATCH',            -7);
define('MDB2_ERROR_INVALID',             -8);
define('MDB2_ERROR_NOT_CAPABLE',         -9);
define('MDB2_ERROR_TRUNCATED',          -10);
define('MDB2_ERROR_INVALID_NUMBER',     -11);
define('MDB2_ERROR_INVALID_DATE',       -12);
define('MDB2_ERROR_DIVZERO',            -13);
define('MDB2_ERROR_NODBSELECTED',       -14);
define('MDB2_ERROR_CANNOT_CREATE',      -15);
define('MDB2_ERROR_CANNOT_DELETE',      -16);
define('MDB2_ERROR_CANNOT_DROP',        -17);
define('MDB2_ERROR_NOSUCHTABLE',        -18);
define('MDB2_ERROR_NOSUCHFIELD',        -19);
define('MDB2_ERROR_NEED_MORE_DATA',     -20);
define('MDB2_ERROR_NOT_LOCKED',         -21);
define('MDB2_ERROR_VALUE_COUNT_ON_ROW', -22);
define('MDB2_ERROR_INVALID_DSN',        -23);
define('MDB2_ERROR_CONNECT_FAILED',     -24);
define('MDB2_ERROR_EXTENSION_NOT_FOUND',-25);
define('MDB2_ERROR_NOSUCHDB',           -26);
define('MDB2_ERROR_ACCESS_VIOLATION',   -27);
define('MDB2_ERROR_CANNOT_REPLACE',     -28);
define('MDB2_ERROR_CONSTRAINT_NOT_NULL',-29);
define('MDB2_ERROR_DEADLOCK',           -30);
define('MDB2_ERROR_CANNOT_ALTER',       -31);
define('MDB2_ERROR_MANAGER',            -32);
define('MDB2_ERROR_MANAGER_PARSE',      -33);
define('MDB2_ERROR_LOADMODULE',         -34);
define('MDB2_ERROR_INSUFFICIENT_DATA',  -35);
// }}}
// {{{ Verbose constants
/**
 * These are just helper constants to more verbosely express parameters to prepare()
 */

define('MDB2_PREPARE_MANIP', false);
define('MDB2_PREPARE_RESULT', null);

// }}}
// {{{ Fetchmode constants

/**
 * This is a special constant that tells MDB2 the user hasn't specified
 * any particular get mode, so the default should be used.
 */
define('MDB2_FETCHMODE_DEFAULT', 0);

/**
 * Column data indexed by numbers, ordered from 0 and up
 */
define('MDB2_FETCHMODE_ORDERED', 1);

/**
 * Column data indexed by column names
 */
define('MDB2_FETCHMODE_ASSOC', 2);

/**
 * Column data as object properties
 */
define('MDB2_FETCHMODE_OBJECT', 3);

/**
 * For multi-dimensional results: normally the first level of arrays
 * is the row number, and the second level indexed by column number or name.
 * MDB2_FETCHMODE_FLIPPED switches this order, so the first level of arrays
 * is the column name, and the second level the row number.
 */
define('MDB2_FETCHMODE_FLIPPED', 4);

// }}}
// {{{ Portability mode constants

/**
 * Portability: turn off all portability features.
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_NONE', 0);

/**
 * Portability: convert names of tables and fields to case defined in the
 * "field_case" option when using the query*(), fetch*() and tableInfo() methods.
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_FIX_CASE', 1);

/**
 * Portability: right trim the data output by query*() and fetch*().
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_RTRIM', 2);

/**
 * Portability: force reporting the number of rows deleted.
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_DELETE_COUNT', 4);

/**
 * Portability: not needed in MDB2 (just left here for compatibility to DB)
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_NUMROWS', 8);

/**
 * Portability: makes certain error messages in certain drivers compatible
 * with those from other DBMS's.
 *
 * + mysql, mysqli:  change unique/primary key constraints
 *   MDB2_ERROR_ALREADY_EXISTS -> MDB2_ERROR_CONSTRAINT
 *
 * + odbc(access):  MS's ODBC driver reports 'no such field' as code
 *   07001, which means 'too few parameters.'  When this option is on
 *   that code gets mapped to MDB2_ERROR_NOSUCHFIELD.
 *
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_ERRORS', 16);

/**
 * Portability: convert empty values to null strings in data output by
 * query*() and fetch*().
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_EMPTY_TO_NULL', 32);

/**
 * Portability: removes database/table qualifiers from associative indexes
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_FIX_ASSOC_FIELD_NAMES', 64);

/**
 * Portability: turn on all portability features.
 * @see MDB2_Driver_Common::setOption()
 */
define('MDB2_PORTABILITY_ALL', 127);

// }}}
// {{{ Globals for class instance tracking

/**
 * These are global variables that are used to track the various class instances
 */

$GLOBALS['_MDB2_databases'] = array();
$GLOBALS['_MDB2_dsninfo_default'] = array(
    'phptype'  => false,
    'dbsyntax' => false,
    'username' => false,
    'password' => false,
    'protocol' => false,
    'hostspec' => false,
    'port'     => false,
    'socket'   => false,
    'database' => false,
    'mode'     => false,
);

// }}}
// {{{ class MDB2

/**
 * The main 'MDB2' class is simply a container class with some static
 * methods for creating DB objects as well as some utility functions
 * common to all parts of DB.
 *
 * The object model of MDB2 is as follows (indentation means inheritance):
 *
 * MDB2          The main MDB2 class.  This is simply a utility class
 *              with some 'static' methods for creating MDB2 objects as
 *              well as common utility functions for other MDB2 classes.
 *
 * MDB2_Driver_Common   The base for each MDB2 implementation.  Provides default
 * |            implementations (in OO lingo virtual methods) for
 * |            the actual DB implementations as well as a bunch of
 * |            query utility functions.
 * |
 * +-MDB2_Driver_mysql  The MDB2 implementation for MySQL. Inherits MDB2_Driver_Common.
 *              When calling MDB2::factory or MDB2::connect for MySQL
 *              connections, the object returned is an instance of this
 *              class.
 * +-MDB2_Driver_pgsql  The MDB2 implementation for PostGreSQL. Inherits MDB2_Driver_Common.
 *              When calling MDB2::factory or MDB2::connect for PostGreSQL
 *              connections, the object returned is an instance of this
 *              class.
 *
 * @package     MDB2
 * @category    Database
 * @author      Lukas Smith <smith@pooteeweet.org>
 */
class MDB2
{
    // {{{ function setOptions(&$db, $options)

    /**
     * set option array   in an exiting database object
     *
     * @param   MDB2_Driver_Common  MDB2 object
     * @param   array   An associative array of option names and their values.
     *
     * @return mixed   MDB2_OK or a PEAR Error object
     *
     * @access  public
     */
    function setOptions(&$db, $options)
    {
        if (is_array($options)) {
            foreach ($options as $option => $value) {
                $test = $db->setOption($option, $value);
                if (PEAR::isError($test)) {
                    return $test;
                }
            }
        }
        return MDB2_OK;
    }

    // }}}
    // {{{ function classExists($classname)

    /**
     * Checks if a class exists without triggering __autoload
     *
     * @param   string  classname
     *
     * @return  bool    true success and false on error
     *
     * @access  public
     */
    function classExists($classname)
    {
        if (version_compare(phpversion(), "5.0", ">=")) {
            return class_exists($classname, false);
        }
        return class_exists($classname);
    }

    // }}}
    // {{{ function loadClass($class_name, $debug)

    /**
     * Loads a PEAR class.
     *
     * @param   string  classname to load
     * @param   bool    if errors should be suppressed
     *
     * @return  bool    true success or false on failure
     *
     * @access  public
     */
    function loadClass($class_name, $debug)
    {
        if (!MDB2::classExists($class_name)) {
            $file_name = str_replace('_', DIRECTORY_SEPARATOR, $class_name).'.php';
            if ($debug) {
                $include = include_once($file_name);
            } else {
                $include = @include_once($file_name);
            }
            if (!$include) {
                if (!MDB2::fileExists($file_name)) {
                    $msg = "unable to find package '$class_name' file '$file_name'";
                } else {
                    $msg = "unable to load class '$class_name' from file '$file_name'";
                }
                $err =& MDB2::raiseError(MDB2_ERROR_NOT_FOUND, null, null, $msg);
                return $err;
            }
        }
        return MDB2_OK;
    }

    // }}}
    // {{{ function &factory($dsn, $options = false)

    /**
     * Create a new MDB2 object for the specified database type
     *
     * IMPORTANT: In order for MDB2 to work properly it is necessary that
     * you make sure that you work with a reference of the original
     * object instead of a copy (this is a PHP4 quirk).
     *
     * For example:
     *     $db =& MDB2::factory($dsn);
     *          ^^
     * And not:
     *     $db = MDB2::factory($dsn);
     *
     * @param   mixed   'data source name', see the MDB2::parseDSN
     *                      method for a description of the dsn format.
     *                      Can also be specified as an array of the
     *                      format returned by MDB2::parseDSN.
     * @param   array   An associative array of option names and
     *                            their values.
     *
     * @return  mixed   a newly created MDB2 object, or false on error
     *
     * @access  public
     */
    function &factory($dsn, $options = false)
    {
        $dsninfo = MDB2::parseDSN($dsn);
        if (empty($dsninfo['phptype'])) {
            $err =& MDB2::raiseError(MDB2_ERROR_NOT_FOUND,
                null, null, 'no RDBMS driver specified');
            return $err;
        }
        $class_name = 'MDB2_Driver_'.$dsninfo['phptype'];

        $debug = (!empty($options['debug']));
        $err = MDB2::loadClass($class_name, $debug);
        if (PEAR::isError($err)) {
            return $err;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
制服丝袜亚洲精品中文字幕| 成人免费高清在线| 日韩一级免费一区| 日韩黄色免费网站| 欧美一区二区在线看| 色婷婷综合久色| 亚洲福利视频一区| 91麻豆精品国产综合久久久久久| 日韩高清电影一区| 日韩精品自拍偷拍| 国产高清不卡二三区| 国产精品嫩草99a| 欧美在线观看视频一区二区 | 精品国产三级a在线观看| 久久99蜜桃精品| 国产日韩欧美不卡| 91在线无精精品入口| 亚洲成人1区2区| 日韩精品一区二区三区swag| 国产乱一区二区| 亚洲欧美韩国综合色| 欧美一区二视频| 成人禁用看黄a在线| 亚洲午夜电影网| 久久一留热品黄| 91丨九色丨蝌蚪丨老版| 日韩激情一区二区| 中文字幕av资源一区| 欧美日韩免费一区二区三区| 国产精品1区2区3区在线观看| 亚洲精品国产视频| 6080国产精品一区二区| 国产精品99精品久久免费| 亚洲免费三区一区二区| 日韩欧美电影一区| 99这里都是精品| 久久国产免费看| 樱花影视一区二区| 久久精品人人做人人综合| 欧美在线免费观看亚洲| 国产iv一区二区三区| 午夜精品一区在线观看| 国产精品美女www爽爽爽| 51午夜精品国产| 波多野结衣在线aⅴ中文字幕不卡| 亚洲成人av电影在线| 日本一区二区三区dvd视频在线| 欧美日韩午夜在线视频| 国产福利一区二区三区视频在线| 亚洲国产日韩a在线播放性色| 久久精品亚洲精品国产欧美| 91精品国产色综合久久不卡蜜臀| 色综合视频一区二区三区高清| 理论片日本一区| 亚洲福利一二三区| 亚洲视频在线观看三级| 久久精品一区四区| 精品欧美一区二区久久| 欧美色综合久久| 91影院在线免费观看| 国产a精品视频| 国产精品一二二区| 国产在线不卡一区| 久久精品噜噜噜成人av农村| 亚洲a一区二区| 亚洲影视在线观看| 亚洲免费色视频| 亚洲天堂2014| 中文字幕一区二区在线观看| 日本一区二区三区国色天香| 久久精品亚洲国产奇米99| 欧美a一区二区| 天涯成人国产亚洲精品一区av| 亚洲与欧洲av电影| 亚洲影视在线观看| 一区二区三区日韩在线观看| 樱桃视频在线观看一区| 亚洲一区二三区| 一区二区三区在线高清| 亚洲免费看黄网站| 亚洲精品国产a| 亚洲一区二区视频在线| 亚洲精品视频一区| 亚洲视频你懂的| 亚洲视频电影在线| 亚洲美女屁股眼交| 一区二区三区不卡视频| 亚洲一区二区在线播放相泽| 午夜av区久久| 麻豆国产一区二区| 国内精品久久久久影院色| 国产精一品亚洲二区在线视频| 国产另类ts人妖一区二区| 国产高清精品久久久久| 91原创在线视频| 欧美美女一区二区三区| 日韩精品中午字幕| 久久久综合激的五月天| 中文字幕高清一区| 亚洲精品亚洲人成人网在线播放| 亚洲成a人v欧美综合天堂| 秋霞成人午夜伦在线观看| 国产一区二区在线看| av动漫一区二区| 欧美视频一区二区三区在线观看 | 日韩美女一区二区三区四区| 欧美大白屁股肥臀xxxxxx| 久久久99精品免费观看| 国产精品国产三级国产专播品爱网| 亚洲欧美综合另类在线卡通| 亚洲成人在线观看视频| 久久99精品国产麻豆不卡| 成人18视频日本| 欧美性大战久久| 久久久99精品久久| 一区二区三区精品| 麻豆91免费观看| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 在线成人午夜影院| 国产欧美一区视频| 午夜精品久久久久久久久| 久久se这里有精品| 99久久久国产精品免费蜜臀| 欧美久久久久久久久中文字幕| 久久久美女毛片| 亚洲激情六月丁香| 久久成人免费电影| 91亚洲精品久久久蜜桃网站| 91麻豆精品国产91久久久久| 国产欧美一区二区精品性色超碰| 亚洲一二三四区| 国产不卡在线一区| 日韩视频一区二区| 亚洲激情综合网| 国产精品亚洲一区二区三区妖精 | 欧美国产日产图区| 日韩av电影天堂| 一本大道久久a久久综合| 2024国产精品视频| 偷拍一区二区三区四区| 国产丝袜欧美中文另类| 日本最新不卡在线| 色8久久精品久久久久久蜜| 久久综合成人精品亚洲另类欧美| 亚洲成人免费看| 色婷婷精品大视频在线蜜桃视频| 久久午夜电影网| 久久精品国产秦先生| 欧美影院一区二区三区| 一区在线观看免费| 国产大片一区二区| 精品日产卡一卡二卡麻豆| 奇米一区二区三区av| 在线区一区二视频| 亚洲自拍与偷拍| 91污片在线观看| 成人欧美一区二区三区白人| 国产成人精品亚洲午夜麻豆| 精品国产乱码久久久久久闺蜜| 日韩主播视频在线| 欧美日韩一级视频| 午夜精品久久久久久久99水蜜桃 | 成人少妇影院yyyy| 久久女同精品一区二区| 麻豆精品精品国产自在97香蕉| 7777精品伊人久久久大香线蕉| 亚洲.国产.中文慕字在线| 欧美专区在线观看一区| 一区二区三区四区亚洲| 色猫猫国产区一区二在线视频| 成人欧美一区二区三区小说| 99久久精品国产一区二区三区 | 色系网站成人免费| 亚洲男人的天堂网| 欧洲亚洲精品在线| 亚洲成人一区二区| 日韩手机在线导航| 国内精品伊人久久久久av一坑| 26uuu亚洲综合色| 成人性视频免费网站| 亚洲老司机在线| 欧美日韩二区三区| 美脚の诱脚舐め脚责91| 久久久综合激的五月天| 成人国产精品免费观看视频| 亚洲欧美日韩国产手机在线| 欧美色手机在线观看| 日韩高清一区二区| 久久精品人人做人人爽97| 色综合久久天天| 香蕉av福利精品导航| 精品国产成人系列| av午夜精品一区二区三区| 亚洲综合一二三区| 日韩欧美卡一卡二| 国产传媒欧美日韩成人| 亚洲欧美二区三区| 日韩欧美色电影| av一区二区三区四区| 午夜精品一区二区三区电影天堂 |