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

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

?? common.php

?? asterisk 計費(fèi)
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
     *      <li>
     *        <kbd>odbc</kbd> -> <samp>1/0</samp>
     *        (<kbd>SMALLINT</kbd>) [1]
     *      </li>
     *      <li>
     *        <kbd>pgsql</kbd> -> <samp>TRUE/FALSE</samp>
     *        (<kbd>BOOLEAN</kbd>)
     *      </li>
     *      <li>
     *        <kbd>sqlite</kbd> -> <samp>1/0</samp>
     *        (<kbd>INTEGER</kbd>)
     *      </li>
     *      <li>
     *        <kbd>sybase</kbd> -> <samp>1/0</samp>
     *        (<kbd>TINYINT(1)</kbd>)
     *      </li>
     *    </ul>
     *    [1] Accommodate the lowest common denominator because not all
     *    versions of have <kbd>BOOLEAN</kbd>.
     *  </li>
     *  <li>
     *    other (including strings and numeric strings) ->
     *    the data with single quotes escaped by preceeding
     *    single quotes, backslashes are escaped by preceeding
     *    backslashes, then the whole string is encapsulated
     *    between single quotes
     *  </li>
     * </ul>
     *
     * @see DB_common::escapeSimple()
     * @since Method available since Release 1.6.0
     */
    function quoteSmart($in)
    {
        if (is_int($in) || is_double($in)) {
            return $in;
        } elseif (is_bool($in)) {
            return $in ? 1 : 0;
        } elseif (is_null($in)) {
            return 'NULL';
        } else {
            return "'" . $this->escapeSimple($in) . "'";
        }
    }

    // }}}
    // {{{ escapeSimple()

    /**
     * Escapes a string according to the current DBMS's standards
     *
     * In SQLite, this makes things safe for inserts/updates, but may
     * cause problems when performing text comparisons against columns
     * containing binary data. See the
     * {@link http://php.net/sqlite_escape_string PHP manual} for more info.
     *
     * @param string $str  the string to be escaped
     *
     * @return string  the escaped string
     *
     * @see DB_common::quoteSmart()
     * @since Method available since Release 1.6.0
     */
    function escapeSimple($str)
    {
        return str_replace("'", "''", $str);
    }

    // }}}
    // {{{ provides()

    /**
     * Tells whether the present driver supports a given feature
     *
     * @param string $feature  the feature you're curious about
     *
     * @return bool  whether this driver supports $feature
     */
    function provides($feature)
    {
        return $this->features[$feature];
    }

    // }}}
    // {{{ setFetchMode()

    /**
     * Sets the fetch mode that should be used by default for query results
     *
     * @param integer $fetchmode    DB_FETCHMODE_ORDERED, DB_FETCHMODE_ASSOC
     *                               or DB_FETCHMODE_OBJECT
     * @param string $object_class  the class name of the object to be returned
     *                               by the fetch methods when the
     *                               DB_FETCHMODE_OBJECT mode is selected.
     *                               If no class is specified by default a cast
     *                               to object from the assoc array row will be
     *                               done.  There is also the posibility to use
     *                               and extend the 'DB_row' class.
     *
     * @see DB_FETCHMODE_ORDERED, DB_FETCHMODE_ASSOC, DB_FETCHMODE_OBJECT
     */
    function setFetchMode($fetchmode, $object_class = 'stdClass')
    {
        switch ($fetchmode) {
            case DB_FETCHMODE_OBJECT:
                $this->fetchmode_object_class = $object_class;
            case DB_FETCHMODE_ORDERED:
            case DB_FETCHMODE_ASSOC:
                $this->fetchmode = $fetchmode;
                break;
            default:
                return $this->raiseError('invalid fetchmode mode');
        }
    }

    // }}}
    // {{{ setOption()

    /**
     * Sets run-time configuration options for PEAR DB
     *
     * Options, their data types, default values and description:
     * <ul>
     * <li>
     * <var>autofree</var> <kbd>boolean</kbd> = <samp>false</samp>
     *      <br />should results be freed automatically when there are no
     *            more rows?
     * </li><li>
     * <var>result_buffering</var> <kbd>integer</kbd> = <samp>500</samp>
     *      <br />how many rows of the result set should be buffered?
     *      <br />In mysql: mysql_unbuffered_query() is used instead of
     *            mysql_query() if this value is 0.  (Release 1.7.0)
     *      <br />In oci8: this value is passed to ocisetprefetch().
     *            (Release 1.7.0)
     * </li><li>
     * <var>debug</var> <kbd>integer</kbd> = <samp>0</samp>
     *      <br />debug level
     * </li><li>
     * <var>persistent</var> <kbd>boolean</kbd> = <samp>false</samp>
     *      <br />should the connection be persistent?
     * </li><li>
     * <var>portability</var> <kbd>integer</kbd> = <samp>DB_PORTABILITY_NONE</samp>
     *      <br />portability mode constant (see below)
     * </li><li>
     * <var>seqname_format</var> <kbd>string</kbd> = <samp>%s_seq</samp>
     *      <br />the sprintf() format string used on sequence names.  This
     *            format is applied to sequence names passed to
     *            createSequence(), nextID() and dropSequence().
     * </li><li>
     * <var>ssl</var> <kbd>boolean</kbd> = <samp>false</samp>
     *      <br />use ssl to connect?
     * </li>
     * </ul>
     *
     * -----------------------------------------
     *
     * PORTABILITY MODES
     *
     * These modes are bitwised, so they can be combined using <kbd>|</kbd>
     * and removed using <kbd>^</kbd>.  See the examples section below on how
     * to do this.
     *
     * <samp>DB_PORTABILITY_NONE</samp>
     * turn off all portability features
     *
     * This mode gets automatically turned on if the deprecated
     * <var>optimize</var> option gets set to <samp>performance</samp>.
     *
     *
     * <samp>DB_PORTABILITY_LOWERCASE</samp>
     * convert names of tables and fields to lower case when using
     * <kbd>get*()</kbd>, <kbd>fetch*()</kbd> and <kbd>tableInfo()</kbd>
     *
     * This mode gets automatically turned on in the following databases
     * if the deprecated option <var>optimize</var> gets set to
     * <samp>portability</samp>:
     * + oci8
     *
     *
     * <samp>DB_PORTABILITY_RTRIM</samp>
     * right trim the data output by <kbd>get*()</kbd> <kbd>fetch*()</kbd>
     *
     *
     * <samp>DB_PORTABILITY_DELETE_COUNT</samp>
     * force reporting the number of rows deleted
     *
     * Some DBMS's don't count the number of rows deleted when performing
     * simple <kbd>DELETE FROM tablename</kbd> queries.  This portability
     * mode tricks such DBMS's into telling the count by adding
     * <samp>WHERE 1=1</samp> to the end of <kbd>DELETE</kbd> queries.
     *
     * This mode gets automatically turned on in the following databases
     * if the deprecated option <var>optimize</var> gets set to
     * <samp>portability</samp>:
     * + fbsql
     * + mysql
     * + mysqli
     * + sqlite
     *
     *
     * <samp>DB_PORTABILITY_NUMROWS</samp>
     * enable hack that makes <kbd>numRows()</kbd> work in Oracle
     *
     * This mode gets automatically turned on in the following databases
     * if the deprecated option <var>optimize</var> gets set to
     * <samp>portability</samp>:
     * + oci8
     *
     *
     * <samp>DB_PORTABILITY_ERRORS</samp>
     * makes certain error messages in certain drivers compatible
     * with those from other DBMS's
     *
     * + mysql, mysqli:  change unique/primary key constraints
     *   DB_ERROR_ALREADY_EXISTS -> DB_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 DB_ERROR_NOSUCHFIELD.
     *   DB_ERROR_MISMATCH -> DB_ERROR_NOSUCHFIELD
     *
     * <samp>DB_PORTABILITY_NULL_TO_EMPTY</samp>
     * convert null values to empty strings in data output by get*() and
     * fetch*().  Needed because Oracle considers empty strings to be null,
     * while most other DBMS's know the difference between empty and null.
     *
     *
     * <samp>DB_PORTABILITY_ALL</samp>
     * turn on all portability features
     *
     * -----------------------------------------
     *
     * Example 1. Simple setOption() example
     * <code>
     * $db->setOption('autofree', true);
     * </code>
     *
     * Example 2. Portability for lowercasing and trimming
     * <code>
     * $db->setOption('portability',
     *                 DB_PORTABILITY_LOWERCASE | DB_PORTABILITY_RTRIM);
     * </code>
     *
     * Example 3. All portability options except trimming
     * <code>
     * $db->setOption('portability',
     *                 DB_PORTABILITY_ALL ^ DB_PORTABILITY_RTRIM);
     * </code>
     *
     * @param string $option option name
     * @param mixed  $value value for the option
     *
     * @return int  DB_OK on success.  A DB_Error object on failure.
     *
     * @see DB_common::$options
     */
    function setOption($option, $value)
    {
        if (isset($this->options[$option])) {
            $this->options[$option] = $value;

            /*
             * Backwards compatibility check for the deprecated 'optimize'
             * option.  Done here in case settings change after connecting.
             */
            if ($option == 'optimize') {
                if ($value == 'portability') {
                    switch ($this->phptype) {
                        case 'oci8':
                            $this->options['portability'] =
                                    DB_PORTABILITY_LOWERCASE |
                                    DB_PORTABILITY_NUMROWS;
                            break;
                        case 'fbsql':
                        case 'mysql':
                        case 'mysqli':
                        case 'sqlite':
                            $this->options['portability'] =
                                    DB_PORTABILITY_DELETE_COUNT;
                            break;
                    }
                } else {
                    $this->options['portability'] = DB_PORTABILITY_NONE;
                }
            }

            return DB_OK;
        }
        return $this->raiseError("unknown option $option");
    }

    // }}}
    // {{{ getOption()

    /**
     * Returns the value of an option
     *
     * @param string $option  the option name you're curious about
     *
     * @return mixed  the option's value
     */
    function getOption($option)
    {
        if (isset($this->options[$option])) {
            return $this->options[$option];
        }
        return $this->raiseError("unknown option $option");
    }

    // }}}
    // {{{ prepare()

    /**
     * Prepares a query for multiple execution with execute()
     *
     * Creates a query that can be run multiple times.  Each time it is run,
     * the placeholders, if any, will be replaced by the contents of
     * execute()'s $data argument.
     *
     * Three types of placeholders can be used:
     *   + <kbd>?</kbd>  scalar value (i.e. strings, integers).  The system
     *                   will automatically quote and escape the data.
     *   + <kbd>!</kbd>  value is inserted 'as is'
     *   + <kbd>&</kbd>  requires a file name.  The file's contents get
     *                   inserted into the query (i.e. saving binary
     *                   data in a db)
     *
     * Example 1.
     * <code>
     * $sth = $db->prepare('INSERT INTO tbl (a, b, c) VALUES (?, !, &)');
     * $data = array(
     *     "John's text",
     *     "'it''s good'",
     *     'filename.txt'
     * );
     * $res = $db->execute($sth, $data);
     * </code>
     *
     * Use backslashes to escape placeholder characters if you don't want
     * them to be interpreted as placeholders:
     * <pre>
     *    "UPDATE foo SET col=? WHERE col='over \& under'"
     * </pre>
     *
     * With some database backends, this is emulated.
     *
     * {@internal ibase and oci8 have their own prepare() methods.}}
     *
     * @param string $query  the query to be prepared
     *
     * @return mixed  DB statement resource on success. A DB_Error object
     *                 on failure.
     *
     * @see DB_common::execute()
     */
    function prepare($query)
    {
        $tokens   = preg_split('/((?<!\\\)[&?!])/', $query, -1,
                               PREG_SPLIT_DELIM_CAPTURE);
        $token     = 0;
        $types     = array();
        $newtokens = array();

        foreach ($tokens as $val) {
            switch ($val) {
                case '?':
                    $types[$token++] = DB_PARAM_SCALAR;
                    break;
                case '&':
                    $types[$token++] = DB_PARAM_OPAQUE;
                    break;
                case '!':
                    $types[$token++] = DB_PARAM_MISC;
                    break;
                default:
                    $newtokens[] = preg_replace('/\\\([&?!])/', "\\1", $val);
            }
        }

        $this->prepare_tokens[] = &$newtokens;
        end($this->prepare_tokens);

        $k = key($this->prepare_tokens);
        $this->prepare_types[$k] = $types;
        $this->prepared_queries[$k] = implode(' ', $newtokens);

        return $k;
    }

    // }}}
    // {{{ autoPrepare()

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美电影院| 99亚偷拍自图区亚洲| 日韩精品一二三区| 亚洲bt欧美bt精品| 午夜久久久久久电影| 亚洲在线视频免费观看| 亚洲一区精品在线| 亚洲成人精品一区| 日本强好片久久久久久aaa| 日韩精品乱码av一区二区| 免费观看一级欧美片| 另类小说一区二区三区| 国产一区二三区好的| 国产成人精品在线看| 国产91精品久久久久久久网曝门| 成人精品一区二区三区四区 | 国产又黄又大久久| 国产精品伊人色| eeuss鲁片一区二区三区在线观看| av动漫一区二区| 欧美午夜宅男影院| 日韩视频123| 久久青草欧美一区二区三区| 国产精品久久久久四虎| 亚洲免费成人av| 视频在线观看一区| 狠狠色丁香九九婷婷综合五月| 国产精品系列在线播放| 99re免费视频精品全部| 欧美日韩亚洲综合在线| 欧美成人一区二区三区| 中文字幕国产精品一区二区| 亚洲自拍偷拍综合| 麻豆国产精品一区二区三区 | 91久久久免费一区二区| 欧美日本国产视频| 久久一区二区三区四区| 亚洲精品网站在线观看| 久久精品噜噜噜成人av农村| 高清在线观看日韩| 欧美老肥妇做.爰bbww视频| xvideos.蜜桃一区二区| 亚洲乱码国产乱码精品精98午夜| 欧美aaaaaa午夜精品| 波波电影院一区二区三区| 欧美猛男男办公室激情| 亚洲国产精品高清| 日韩综合在线视频| 成人短视频下载| 欧美一区在线视频| 国产精品网曝门| 日韩av电影免费观看高清完整版在线观看| 国产精品夜夜爽| 欧美日韩视频在线第一区| 久久久精品tv| 日韩国产欧美在线视频| av激情综合网| 亚洲精品一区二区三区四区高清| 一区二区在线观看免费| 国产精品资源在线| 欧美精品一卡两卡| ...xxx性欧美| 男人操女人的视频在线观看欧美| 99视频精品全部免费在线| 日韩视频永久免费| 亚洲一区二区三区四区在线观看 | 91黄色激情网站| 久久综合给合久久狠狠狠97色69| 午夜久久久久久久久久一区二区| 99国产精品久久| 国产欧美日韩另类一区| 久久精品国产久精国产爱| 欧美日韩在线观看一区二区| 国产精品免费aⅴ片在线观看| 久久精品99国产精品日本| 欧美日韩一二三| 一区二区三区中文在线观看| 国产成人精品免费在线| 精品国产乱码久久久久久免费 | 不卡一区二区中文字幕| 欧美r级电影在线观看| 亚洲成av人片在线| 色综合一个色综合亚洲| 国产精品二区一区二区aⅴ污介绍| 精品无人码麻豆乱码1区2区 | 欧美日韩成人激情| 亚洲欧美国产三级| 99综合电影在线视频| 久久久三级国产网站| 麻豆91免费观看| 日韩一级免费观看| 日本女人一区二区三区| 欧美色中文字幕| 一区二区不卡在线播放| 91视视频在线观看入口直接观看www | 欧美精品一二三区| 亚洲成人1区2区| 欧美日韩在线三级| 亚洲综合av网| 欧美日本一区二区| 日韩va欧美va亚洲va久久| 欧美精品精品一区| 日韩av午夜在线观看| 337p亚洲精品色噜噜噜| 午夜激情一区二区三区| 欧美群妇大交群中文字幕| 天天综合日日夜夜精品| 这里只有精品电影| 日韩高清欧美激情| 欧美一区二区三区在线视频 | 久久精品欧美日韩| 国产综合久久久久影院| 2022国产精品视频| 国产成人精品一区二| 国产欧美一区二区三区沐欲| 福利一区二区在线观看| 中文字幕佐山爱一区二区免费| 色噜噜狠狠色综合欧洲selulu| 一区二区三区欧美亚洲| 欧美精品日韩一区| 另类专区欧美蜜桃臀第一页| 久久久久国产精品人| 国产不卡视频在线观看| 综合久久国产九一剧情麻豆| 欧洲精品一区二区三区在线观看| 亚洲国产日韩av| 91精品国产综合久久精品| 国产在线精品一区二区三区不卡 | 国产一区二区在线电影| 亚洲国产精品ⅴa在线观看| 色屁屁一区二区| 午夜成人免费视频| 久久女同精品一区二区| 99久久精品国产一区二区三区| 亚洲狼人国产精品| 欧美一卡二卡在线观看| 国产成人亚洲综合a∨婷婷| 亚洲欧美色图小说| 在线播放91灌醉迷j高跟美女 | 不卡一卡二卡三乱码免费网站| 亚洲乱码国产乱码精品精小说| 欧美理论在线播放| 国产99久久久久久免费看农村| 亚洲主播在线播放| ww久久中文字幕| 欧美综合一区二区| 九九久久精品视频| 亚洲美女区一区| 欧美变态tickling挠脚心| 97se亚洲国产综合在线| 秋霞av亚洲一区二区三| 中文字幕日韩一区| 日韩视频在线你懂得| aaa国产一区| 久草精品在线观看| 亚洲综合另类小说| 欧美韩日一区二区三区| 7878成人国产在线观看| 99久久久国产精品免费蜜臀| 色网站国产精品| 亚洲人亚洲人成电影网站色| 日韩写真欧美这视频| 色综合色狠狠综合色| 极品美女销魂一区二区三区| 亚洲午夜羞羞片| 国产精品入口麻豆原神| 欧美变态tickle挠乳网站| 欧美性生活一区| 成人久久久精品乱码一区二区三区 | 九九久久精品视频| 亚洲gay无套男同| ...xxx性欧美| 国产午夜精品一区二区| 日韩欧美久久久| 欧美日韩午夜精品| 色综合久久天天| 成人免费va视频| 国产精品一区二区在线观看网站| 日韩激情视频在线观看| 一区二区三区中文字幕精品精品 | 日韩经典一区二区| 一区二区三区蜜桃网| 国产精品欧美久久久久一区二区| 欧美不卡在线视频| 91精品国产aⅴ一区二区| 欧美色视频在线观看| 色综合一个色综合| 北条麻妃一区二区三区| 国产一区二区三区久久悠悠色av | 精品视频一区二区三区免费| jlzzjlzz亚洲日本少妇| 国产高清精品久久久久| 国产资源在线一区| 麻豆国产精品777777在线| 人妖欧美一区二区| 舔着乳尖日韩一区| 亚欧色一区w666天堂| 亚洲国产成人av好男人在线观看| 亚洲男同1069视频| 亚洲你懂的在线视频|