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

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

?? common.php

?? asterisk 計費
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
 * Contains the DB_common base class
 *
 * 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     Tomas V.V. Cox <cox@idecnet.com>
 * @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: common.php,v 1.1 2006/09/30 17:16:25 jjvema Exp $
 * @link       http://pear.php.net/package/DB
 */

/**
 * Obtain the PEAR class so it can be extended from
 */
require_once 'PEAR.php';

/**
 * DB_common is the base class from which each database driver class extends
 *
 * All common methods are declared here.  If a given DBMS driver contains
 * a particular method, that method will overload the one here.
 *
 * @category   Database
 * @package    DB
 * @author     Stig Bakken <ssb@php.net>
 * @author     Tomas V.V. Cox <cox@idecnet.com>
 * @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_common extends PEAR
{
    // {{{ properties

    /**
     * The current default fetch mode
     * @var integer
     */
    var $fetchmode = DB_FETCHMODE_ORDERED;

    /**
     * The name of the class into which results should be fetched when
     * DB_FETCHMODE_OBJECT is in effect
     *
     * @var string
     */
    var $fetchmode_object_class = 'stdClass';

    /**
     * Was a connection present when the object was serialized()?
     * @var bool
     * @see DB_common::__sleep(), DB_common::__wake()
     */
    var $was_connected = null;

    /**
     * The most recently executed query
     * @var string
     */
    var $last_query = '';

    /**
     * Run-time configuration options
     *
     * The 'optimize' option has been deprecated.  Use the 'portability'
     * option instead.
     *
     * @var array
     * @see DB_common::setOption()
     */
    var $options = array(
        'result_buffering' => 500,
        'persistent' => false,
        'ssl' => false,
        'debug' => 0,
        'seqname_format' => '%s_seq',
        'autofree' => false,
        'portability' => DB_PORTABILITY_NONE,
        'optimize' => 'performance',  // Deprecated.  Use 'portability'.
    );

    /**
     * The parameters from the most recently executed query
     * @var array
     * @since Property available since Release 1.7.0
     */
    var $last_parameters = array();

    /**
     * The elements from each prepared statement
     * @var array
     */
    var $prepare_tokens = array();

    /**
     * The data types of the various elements in each prepared statement
     * @var array
     */
    var $prepare_types = array();

    /**
     * The prepared queries
     * @var array
     */
    var $prepared_queries = array();


    // }}}
    // {{{ DB_common

    /**
     * This constructor calls <kbd>$this->PEAR('DB_Error')</kbd>
     *
     * @return void
     */
    function DB_common()
    {
        $this->PEAR('DB_Error');
    }

    // }}}
    // {{{ __sleep()

    /**
     * Automatically indicates which properties should be saved
     * when PHP's serialize() function is called
     *
     * @return array  the array of properties names that should be saved
     */
    function __sleep()
    {
        if ($this->connection) {
            // Don't disconnect(), people use serialize() for many reasons
            $this->was_connected = true;
        } else {
            $this->was_connected = false;
        }
        if (isset($this->autocommit)) {
            return array('autocommit',
                         'dbsyntax',
                         'dsn',
                         'features',
                         'fetchmode',
                         'fetchmode_object_class',
                         'options',
                         'was_connected',
                   );
        } else {
            return array('dbsyntax',
                         'dsn',
                         'features',
                         'fetchmode',
                         'fetchmode_object_class',
                         'options',
                         'was_connected',
                   );
        }
    }

    // }}}
    // {{{ __wakeup()

    /**
     * Automatically reconnects to the database when PHP's unserialize()
     * function is called
     *
     * The reconnection attempt is only performed if the object was connected
     * at the time PHP's serialize() function was run.
     *
     * @return void
     */
    function __wakeup()
    {
        if ($this->was_connected) {
            $this->connect($this->dsn, $this->options);
        }
    }

    // }}}
    // {{{ __toString()

    /**
     * Automatic string conversion for PHP 5
     *
     * @return string  a string describing the current PEAR DB object
     *
     * @since Method available since Release 1.7.0
     */
    function __toString()
    {
        $info = strtolower(get_class($this));
        $info .=  ': (phptype=' . $this->phptype .
                  ', dbsyntax=' . $this->dbsyntax .
                  ')';
        if ($this->connection) {
            $info .= ' [connected]';
        }
        return $info;
    }

    // }}}
    // {{{ toString()

    /**
     * DEPRECATED:  String conversion method
     *
     * @return string  a string describing the current PEAR DB object
     *
     * @deprecated Method deprecated in Release 1.7.0
     */
    function toString()
    {
        return $this->__toString();
    }

    // }}}
    // {{{ quoteString()

    /**
     * DEPRECATED: Quotes a string so it can be safely used within string
     * delimiters in a query
     *
     * @param string $string  the string to be quoted
     *
     * @return string  the quoted string
     *
     * @see DB_common::quoteSmart(), DB_common::escapeSimple()
     * @deprecated Method deprecated some time before Release 1.2
     */
    function quoteString($string)
    {
        $string = $this->quote($string);
        if ($string{0} == "'") {
            return substr($string, 1, -1);
        }
        return $string;
    }

    // }}}
    // {{{ quote()

    /**
     * DEPRECATED: Quotes a string so it can be safely used in a query
     *
     * @param string $string  the string to quote
     *
     * @return string  the quoted string or the string <samp>NULL</samp>
     *                  if the value submitted is <kbd>null</kbd>.
     *
     * @see DB_common::quoteSmart(), DB_common::escapeSimple()
     * @deprecated Deprecated in release 1.6.0
     */
    function quote($string = null)
    {
        return ($string === null) ? 'NULL'
                                  : "'" . str_replace("'", "''", $string) . "'";
    }

    // }}}
    // {{{ quoteIdentifier()

    /**
     * Quotes a string so it can be safely used as a table or column name
     *
     * Delimiting style depends on which database driver is being used.
     *
     * NOTE: just because you CAN use delimited identifiers doesn't mean
     * you SHOULD use them.  In general, they end up causing way more
     * problems than they solve.
     *
     * Portability is broken by using the following characters inside
     * delimited identifiers:
     *   + backtick (<kbd>`</kbd>) -- due to MySQL
     *   + double quote (<kbd>"</kbd>) -- due to Oracle
     *   + brackets (<kbd>[</kbd> or <kbd>]</kbd>) -- due to Access
     *
     * Delimited identifiers are known to generally work correctly under
     * the following drivers:
     *   + mssql
     *   + mysql
     *   + mysqli
     *   + oci8
     *   + odbc(access)
     *   + odbc(db2)
     *   + pgsql
     *   + sqlite
     *   + sybase (must execute <kbd>set quoted_identifier on</kbd> sometime
     *     prior to use)
     *
     * InterBase doesn't seem to be able to use delimited identifiers
     * via PHP 4.  They work fine under PHP 5.
     *
     * @param string $str  the identifier name to be quoted
     *
     * @return string  the quoted identifier
     *
     * @since Method available since Release 1.6.0
     */
    function quoteIdentifier($str)
    {
        return '"' . str_replace('"', '""', $str) . '"';
    }

    // }}}
    // {{{ quoteSmart()

    /**
     * Formats input so it can be safely used in a query
     *
     * The output depends on the PHP data type of input and the database
     * type being used.
     *
     * @param mixed $in  the data to be formatted
     *
     * @return mixed  the formatted data.  The format depends on the input's
     *                 PHP type:
     * <ul>
     *  <li>
     *    <kbd>input</kbd> -> <samp>returns</samp>
     *  </li>
     *  <li>
     *    <kbd>null</kbd> -> the string <samp>NULL</samp>
     *  </li>
     *  <li>
     *    <kbd>integer</kbd> or <kbd>double</kbd> -> the unquoted number
     *  </li>
     *  <li>
     *    <kbd>bool</kbd> -> output depends on the driver in use
     *    Most drivers return integers: <samp>1</samp> if
     *    <kbd>true</kbd> or <samp>0</samp> if
     *    <kbd>false</kbd>.
     *    Some return strings: <samp>TRUE</samp> if
     *    <kbd>true</kbd> or <samp>FALSE</samp> if
     *    <kbd>false</kbd>.
     *    Finally one returns strings: <samp>T</samp> if
     *    <kbd>true</kbd> or <samp>F</samp> if
     *    <kbd>false</kbd>. Here is a list of each DBMS,
     *    the values returned and the suggested column type:
     *    <ul>
     *      <li>
     *        <kbd>dbase</kbd> -> <samp>T/F</samp>
     *        (<kbd>Logical</kbd>)
     *      </li>
     *      <li>
     *        <kbd>fbase</kbd> -> <samp>TRUE/FALSE</samp>
     *        (<kbd>BOOLEAN</kbd>)
     *      </li>
     *      <li>
     *        <kbd>ibase</kbd> -> <samp>1/0</samp>
     *        (<kbd>SMALLINT</kbd>) [1]
     *      </li>
     *      <li>
     *        <kbd>ifx</kbd> -> <samp>1/0</samp>
     *        (<kbd>SMALLINT</kbd>) [1]
     *      </li>
     *      <li>
     *        <kbd>msql</kbd> -> <samp>1/0</samp>
     *        (<kbd>INTEGER</kbd>)
     *      </li>
     *      <li>
     *        <kbd>mssql</kbd> -> <samp>1/0</samp>
     *        (<kbd>BIT</kbd>)
     *      </li>
     *      <li>
     *        <kbd>mysql</kbd> -> <samp>1/0</samp>
     *        (<kbd>TINYINT(1)</kbd>)
     *      </li>
     *      <li>
     *        <kbd>mysqli</kbd> -> <samp>1/0</samp>
     *        (<kbd>TINYINT(1)</kbd>)
     *      </li>
     *      <li>
     *        <kbd>oci8</kbd> -> <samp>1/0</samp>
     *        (<kbd>NUMBER(1)</kbd>)
     *      </li>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩国产在线观看| 亚洲精品国产第一综合99久久| 亚洲成av人片在线观看| 欧美羞羞免费网站| 亚洲国产日韩精品| 欧美日韩高清一区二区| 日韩av一区二区在线影视| 日韩午夜在线观看| 国产69精品久久777的优势| 日本一区二区动态图| av午夜一区麻豆| 一区二区三区精品| 欧美一级片在线观看| 国产真实乱对白精彩久久| 国产精品三级av| 色嗨嗨av一区二区三区| 视频一区在线播放| 久久久久久**毛片大全| 99久久免费精品高清特色大片| 亚洲一区欧美一区| 精品欧美乱码久久久久久1区2区| 国产精品一色哟哟哟| 亚洲免费av观看| 日韩欧美色综合网站| 不卡的av电影在线观看| 亚洲bt欧美bt精品| 国产色一区二区| 欧美亚男人的天堂| 国产福利一区在线| 日韩综合小视频| 国产欧美中文在线| 717成人午夜免费福利电影| 国产盗摄一区二区三区| 调教+趴+乳夹+国产+精品| 久久午夜电影网| 欧美三级电影在线观看| 国产精品羞羞答答xxdd| 午夜视频一区二区| 中文在线一区二区| 欧美一区二区三区日韩视频| 成人福利电影精品一区二区在线观看| 亚洲成a人在线观看| 国产亚洲一区二区三区四区 | 久久不见久久见中文字幕免费| 国产精品免费久久| 欧美成人综合网站| 精品视频一区二区不卡| 成人精品免费看| 美国毛片一区二区三区| 亚洲综合激情另类小说区| 亚洲国产高清aⅴ视频| 日韩一区二区三区三四区视频在线观看| www.激情成人| 国内精品免费**视频| 日韩电影在线一区| 亚洲国产精品精华液网站| 中文字幕欧美激情| 精品久久久久久久久久久院品网| 欧美中文字幕一区二区三区 | 亚洲欧美日韩国产手机在线 | 亚洲国产欧美一区二区三区丁香婷| 久久先锋资源网| 日韩免费高清av| 欧美日韩精品是欧美日韩精品| 91麻豆福利精品推荐| 成人免费的视频| 国产精品538一区二区在线| 免费在线观看一区二区三区| 亚洲va韩国va欧美va| 亚洲午夜久久久| 亚洲一区二区三区国产| 亚洲免费av高清| 亚洲人快播电影网| 亚洲图片你懂的| 中文字幕一区二区在线观看| 中文av字幕一区| 国产精品传媒入口麻豆| 中文字幕免费一区| 国产精品乱码一区二区三区软件| 久久婷婷久久一区二区三区| 欧美精品一区二区三区久久久| 精品区一区二区| 国产日韩精品一区二区浪潮av| 亚洲精品一区二区三区香蕉| 26uuu亚洲综合色欧美| 精品精品国产高清a毛片牛牛| 精品剧情在线观看| 精品国产123| 国产亚洲精品超碰| 国产精品欧美久久久久无广告| 亚洲国产精品精华液2区45| 中文字幕一区二区三区在线播放 | 一本到高清视频免费精品| 精品国产乱码91久久久久久网站| 久久精品夜色噜噜亚洲aⅴ| 日本一区二区不卡视频| 亚洲人成网站影音先锋播放| 一区二区三区丝袜| 午夜精品福利一区二区蜜股av| 秋霞国产午夜精品免费视频| 精品午夜久久福利影院| 成人美女视频在线观看| 在线视频国内自拍亚洲视频| 4438亚洲最大| 国产亚洲一本大道中文在线| 最新久久zyz资源站| 亚洲第一福利一区| 青青草原综合久久大伊人精品| 国产激情偷乱视频一区二区三区| 99精品一区二区| 777精品伊人久久久久大香线蕉| 久久在线免费观看| 亚洲欧美另类久久久精品2019| 日韩国产一二三区| 成人av网址在线| 欧美精品在线一区二区| 久久久99精品免费观看不卡| 亚洲男人的天堂在线观看| 另类的小说在线视频另类成人小视频在线| 国产一区91精品张津瑜| 日本高清不卡视频| 久久夜色精品国产噜噜av| 一区二区三区精品视频| 国产精品一二三区在线| 欧美视频自拍偷拍| 欧美极品aⅴ影院| 三级欧美在线一区| www.综合网.com| 91精品国产全国免费观看| 中文字幕欧美国产| 六月丁香婷婷色狠狠久久| 91小视频在线| 久久午夜老司机| 日韩av一区二区三区四区| 99精品国产一区二区三区不卡| 欧美一级淫片007| 亚洲影视在线观看| 成人av电影观看| 久久久久久毛片| 日本亚洲最大的色成网站www| 99re视频精品| 国产亚洲一区字幕| 精品亚洲成av人在线观看| 欧美色综合影院| 亚洲男人的天堂在线观看| 成人激情校园春色| 久久综合狠狠综合久久综合88 | 亚洲成人自拍偷拍| kk眼镜猥琐国模调教系列一区二区 | 日韩小视频在线观看专区| 亚洲精品视频在线观看网站| 成人妖精视频yjsp地址| 日韩欧美精品三级| 亚洲成人免费在线观看| 在线一区二区三区| 国产精品高潮呻吟久久| 国产精品911| 久久亚洲综合av| 久久精品国产色蜜蜜麻豆| 欧美一区二区在线看| 亚洲福利电影网| 欧美日韩免费电影| 亚洲综合在线电影| 在线免费观看不卡av| 亚洲色图欧美激情| 色综合天天狠狠| 亚洲欧美日韩一区二区| 日本韩国欧美在线| 一区二区三区四区国产精品| 91亚洲精品久久久蜜桃| 日韩毛片一二三区| 色老头久久综合| 午夜视频一区二区三区| 这里只有精品电影| 六月丁香婷婷久久| 久久久久久久久岛国免费| 成人免费视频免费观看| 综合激情成人伊人| 91久久精品网| 午夜精品123| 91精品国产一区二区| 蜜桃久久久久久| 久久久午夜精品理论片中文字幕| 国产在线播放一区三区四| 久久毛片高清国产| 成人午夜大片免费观看| 亚洲精品成人悠悠色影视| 91麻豆视频网站| 午夜电影一区二区| 欧美mv日韩mv国产网站app| 国产精品18久久久久久久网站| 欧美激情一区二区在线| 91老师国产黑色丝袜在线| 亚洲国产一二三| 日韩欧美国产综合| 成人精品电影在线观看| 亚洲成人av一区| 国产日韩综合av| 欧美日韩亚洲高清一区二区| 精品一区二区综合|