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

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

?? adodb.inc.php

?? PhpWiki是sourceforge的一個開源項目
?? PHP
?? 第 1 頁 / 共 5 頁
字號:
		/**	 * Close Connection	 */	function Close() 	{		return $this->_close();				// "Simon Lee" <simon@mediaroad.com> reports that persistent connections need 		// to be closed too!		//if ($this->_isPersistentConnection != true) return $this->_close();		//else return true;		}		/**	 * Begin a Transaction. Must be followed by CommitTrans() or RollbackTrans().	 *	 * @return true if succeeded or false if database does not support transactions	 */	function BeginTrans() {return false;}			/**	 * If database does not support transactions, always return true as data always commited	 *	 * @param $ok  set to false to rollback transaction, true to commit	 *	 * @return true/false.	 */	function CommitTrans($ok=true) 	{ return true;}			/**	 * If database does not support transactions, rollbacks always fail, so return false	 *	 * @return true/false.	 */	function RollbackTrans() 	{ return false;}	/**	 * return the databases that the driver can connect to. 	 * Some databases will return an empty array.	 *	 * @return an array of database names.	 */		function MetaDatabases() 		{		global $ADODB_FETCH_MODE;					if ($this->metaDatabasesSQL) {				$save = $ADODB_FETCH_MODE; 				$ADODB_FETCH_MODE = ADODB_FETCH_NUM; 								if ($this->fetchMode !== false) $savem = $this->SetFetchMode(false);								$arr = $this->GetCol($this->metaDatabasesSQL);				if (isset($savem)) $this->SetFetchMode($savem);				$ADODB_FETCH_MODE = $save; 							return $arr;			}						return false;		}			/**	 * @param ttype can either be 'VIEW' or 'TABLE' or false. 	 * 		If false, both views and tables are returned.	 *		"VIEW" returns only views	 *		"TABLE" returns only tables	 * @param showSchema returns the schema/user with the table name, eg. USER.TABLE	 * @param mask  is the input mask - only supported by oci8 and postgresql	 *	 * @return  array of tables for current database.	 */ 	function &MetaTables($ttype=false,$showSchema=false,$mask=false) 	{	global $ADODB_FETCH_MODE;			if ($mask) return false;				if ($this->metaTablesSQL) {			// complicated state saving by the need for backward compat			$save = $ADODB_FETCH_MODE; 			$ADODB_FETCH_MODE = ADODB_FETCH_NUM; 						if ($this->fetchMode !== false) $savem = $this->SetFetchMode(false);						$rs = $this->Execute($this->metaTablesSQL);			if (isset($savem)) $this->SetFetchMode($savem);			$ADODB_FETCH_MODE = $save; 						if ($rs === false) return false;			$arr =& $rs->GetArray();			$arr2 = array();						if ($hast = ($ttype && isset($arr[0][1]))) { 				$showt = strncmp($ttype,'T',1);			}						for ($i=0; $i < sizeof($arr); $i++) {				if ($hast) {					if ($showt == 0) {						if (strncmp($arr[$i][1],'T',1) == 0) $arr2[] = trim($arr[$i][0]);					} else {						if (strncmp($arr[$i][1],'V',1) == 0) $arr2[] = trim($arr[$i][0]);					}				} else					$arr2[] = trim($arr[$i][0]);			}			$rs->Close();			return $arr2;		}		return false;	}			function _findschema(&$table,&$schema)	{		if (!$schema && ($at = strpos($table,'.')) !== false) {			$schema = substr($table,0,$at);			$table = substr($table,$at+1);		}	}		/**	 * List columns in a database as an array of ADOFieldObjects. 	 * See top of file for definition of object.	 *	 * @param table	table name to query	 * @param upper	uppercase table name (required by some databases)	 * @schema is optional database schema to use - not supported by all databases.	 *	 * @return  array of ADOFieldObjects for current table.	 */	function &MetaColumns($table,$upper=true) 	{	global $ADODB_FETCH_MODE;				if (!empty($this->metaColumnsSQL)) {					$schema = false;			$this->_findschema($table,$schema);					$save = $ADODB_FETCH_MODE;			$ADODB_FETCH_MODE = ADODB_FETCH_NUM;			if ($this->fetchMode !== false) $savem = $this->SetFetchMode(false);			$rs = $this->Execute(sprintf($this->metaColumnsSQL,($upper)?strtoupper($table):$table));			if (isset($savem)) $this->SetFetchMode($savem);			$ADODB_FETCH_MODE = $save;			if ($rs === false) return false;			$retarr = array();			while (!$rs->EOF) { //print_r($rs->fields);				$fld =& new ADOFieldObject();				$fld->name = $upper ? strtoupper($rs->fields[0]) : $rs->fields[0];				$fld->type = $rs->fields[1];				if (isset($rs->fields[3]) && $rs->fields[3]) {					if ($rs->fields[3]>0) $fld->max_length = $rs->fields[3];					$fld->scale = $rs->fields[4];					if ($fld->scale>0) $fld->max_length += 1;				} else					$fld->max_length = $rs->fields[2];									if ($ADODB_FETCH_MODE == ADODB_FETCH_NUM) $retarr[] = $fld;					else $retarr[$fld->name] = $fld;				$rs->MoveNext();			}			$rs->Close();			return $retarr;			}		return false;	}	    /**      * List indexes on a table as an array.      * @param table        table name to query      * @param primary include primary keys.	  *      * @return array of indexes on current table.      */     function &MetaIndexes($table, $primary = false, $owner = false)     {             return FALSE;     }	/**	 * List columns names in a table as an array. 	 * @param table	table name to query	 *	 * @return  array of column names for current table.	 */ 	function &MetaColumnNames($table) 	{		$objarr =& $this->MetaColumns($table);		if (!is_array($objarr)) return false;				$arr = array();		foreach($objarr as $v) {			$arr[strtoupper($v->name)] = $v->name;		}		return $arr;	}				/**	 * Different SQL databases used different methods to combine strings together.	 * This function provides a wrapper. 	 * 	 * param s	variable number of string parameters	 *	 * Usage: $db->Concat($str1,$str2);	 * 	 * @return concatenated string	 */ 	 	function Concat()	{			$arr = func_get_args();		return implode($this->concat_operator, $arr);	}			/**	 * Converts a date "d" to a string that the database can understand.	 *	 * @param d	a date in Unix date time format.	 *	 * @return  date string in database date format	 */	function DBDate($d)	{		if (empty($d) && $d !== 0) return 'null';		if (is_string($d) && !is_numeric($d)) {			if ($d === 'null' || strncmp($d,"'",1) === 0) return $d;			if ($this->isoDates) return "'$d'";			$d = ADOConnection::UnixDate($d);		}		return adodb_date($this->fmtDate,$d);	}			/**	 * Converts a timestamp "ts" to a string that the database can understand.	 *	 * @param ts	a timestamp in Unix date time format.	 *	 * @return  timestamp string in database timestamp format	 */	function DBTimeStamp($ts)	{		if (empty($ts) && $ts !== 0) return 'null';		# strlen(14) allows YYYYMMDDHHMMSS format		if (!is_string($ts) || (is_numeric($ts) && strlen($ts)<14)) 			return adodb_date($this->fmtTimeStamp,$ts);				if ($ts === 'null') return $ts;		if ($this->isoDates && strlen($ts) !== 14) return "'$ts'";				$ts = ADOConnection::UnixTimeStamp($ts);		return adodb_date($this->fmtTimeStamp,$ts);	}		/**	 * Also in ADORecordSet.	 * @param $v is a date string in YYYY-MM-DD format	 *	 * @return date in unix timestamp format, or 0 if before TIMESTAMP_FIRST_YEAR, or false if invalid date format	 */	function UnixDate($v)	{		if (!preg_match( "|^([0-9]{4})[-/\.]?([0-9]{1,2})[-/\.]?([0-9]{1,2})|", 			($v), $rr)) return false;		if ($rr[1] <= TIMESTAMP_FIRST_YEAR) return 0;		// h-m-s-MM-DD-YY		return @adodb_mktime(0,0,0,$rr[2],$rr[3],$rr[1]);	}		/**	 * Also in ADORecordSet.	 * @param $v is a timestamp string in YYYY-MM-DD HH-NN-SS format	 *	 * @return date in unix timestamp format, or 0 if before TIMESTAMP_FIRST_YEAR, or false if invalid date format	 */	function UnixTimeStamp($v)	{		if (!preg_match( 			"|^([0-9]{4})[-/\.]?([0-9]{1,2})[-/\.]?([0-9]{1,2})[ ,-]*(([0-9]{1,2}):?([0-9]{1,2}):?([0-9\.]{1,4}))?|", 			($v), $rr)) return false;					if ($rr[1] <= TIMESTAMP_FIRST_YEAR && $rr[2]<= 1) return 0;			// h-m-s-MM-DD-YY		if (!isset($rr[5])) return  adodb_mktime(0,0,0,$rr[2],$rr[3],$rr[1]);		return  @adodb_mktime($rr[5],$rr[6],$rr[7],$rr[2],$rr[3],$rr[1]);	}		/**	 * Also in ADORecordSet.	 *	 * Format database date based on user defined format.	 *	 * @param v  	is the character date in YYYY-MM-DD format, returned by database	 * @param fmt 	is the format to apply to it, using date()	 *	 * @return a date formated as user desires	 */	 	function UserDate($v,$fmt='Y-m-d')	{		$tt = $this->UnixDate($v);		// $tt == -1 if pre TIMESTAMP_FIRST_YEAR		if (($tt === false || $tt == -1) && $v != false) return $v;		else if ($tt == 0) return $this->emptyDate;		else if ($tt == -1) { // pre-TIMESTAMP_FIRST_YEAR		}				return adodb_date($fmt,$tt);		}			/**	 *	 * @param v  	is the character timestamp in YYYY-MM-DD hh:mm:ss format	 * @param fmt 	is the format to apply to it, using date()	 *	 * @return a timestamp formated as user desires	 */	function UserTimeStamp($v,$fmt='Y-m-d H:i:s')	{		# strlen(14) allows YYYYMMDDHHMMSS format		if (is_numeric($v) && strlen($v)<14) return adodb_date($fmt,$v);		$tt = $this->UnixTimeStamp($v);		// $tt == -1 if pre TIMESTAMP_FIRST_YEAR		if (($tt === false || $tt == -1) && $v != false) return $v;		if ($tt == 0) return $this->emptyTimeStamp;		return adodb_date($fmt,$tt);	}		/**	* Quotes a string, without prefixing nor appending quotes. 	*/	function addq($s, $magicq=false)	{		if (!$magicq) {					if ($this->replaceQuote[0] == '\\'){				// only since php 4.0.5				$s = adodb_str_replace(array('\\',"\0"),array('\\\\',"\\\0"),$s);				//$s = str_replace("\0","\\\0", str_replace('\\','\\\\',$s));			}			return  str_replace("'",$this->replaceQuote,$s);		}				// undo magic quotes for "		$s = str_replace('\\"','"',$s);				if ($this->replaceQuote == "\\'")  // ' already quoted, no need to change anything			return $s;		else {// change \' to '' for sybase/mssql			$s = str_replace('\\\\','\\',$s);			return str_replace("\\'",$this->replaceQuote,$s);		}	}		/**	 * Correctly quotes a string so that all strings are escaped. We prefix and append	 * to the string single-quotes.	 * An example is  $db->qstr("Don't bother",magic_quotes_runtime());	 * 	 * @param s			the string to quote	 * @param [magic_quotes]	if $s is GET/POST var, set to get_magic_quotes_gpc().	 *				This undoes the stupidity of magic quotes for GPC.	 *	 * @return  quoted string to be sent back to database	 */	function qstr($s,$magic_quotes=false)	{			if (!$magic_quotes) {					if ($this->replaceQuote[0] == '\\'){				// only since php 4.0.5				$s = adodb_str_replace(array('\\',"\0"),array('\\\\',"\\\0"),$s);				//$s = str_replace("\0","\\\0", str_replace('\\','\\\\',$s));			}			return  "'".str_replace("'",$this->replaceQuote,$s)."'";		}				// undo magic quotes for "		$s = str_replace('\\"','"',$s);				if ($this->replaceQuote == "\\'")  // ' already quoted, no need to change anything			return "'$s'";		else {// change \' to '' for sybase/mssql			$s = str_replace('\\\\','\\',$s);			return "'".str_replace("\\'",$this->replaceQuote,$s)."'";		}	}			/**	* Will select the supplied $page number from a recordset, given that it is paginated in pages of 	* $nrows rows per page. It also saves two boolean values saying if the given page is the first 	* and/or last one of the recordset. Added by Iv醤 Oliva to provide recordset pagination.	*	* See readme.htm#ex8 for an example of usage.	*	* @param sql	* @param nrows		is the number of rows per page to get	* @param page		is the page number to get (1-based)	* @param [inputarr]	array of bind variables	* @param [secs2cache]		is a private parameter only used by jlim	* @return		the recordset ($rs->databaseType == 'array')	*	* NOTE: phpLens uses a different algorithm and does not use PageExecute().	*	*/	function &PageExecute($sql, $nrows, $page, $inputarr=false, $secs2cache=0) 	{		global $ADODB_INCLUDED_LIB;		if (empty($ADODB_INCLUDED_LIB)) include_once(ADODB_DIR.'/adodb-lib.inc.php');		if ($this->pageExecuteCountRows) return _adodb_pageexecute_all_rows($this, $sql, $nrows, $page, $inputarr, $secs2cache);		return _adodb_pageexecute_no_last_page($this, $sql, $nrows, $page, $inputarr, $secs2cache);	}				/**	* Will select the supplied $page number from a recordset, given that it is paginated in pages of 	* $nrows rows per page. It also saves two boolean values saying if the given page is the first 	* and/or last one of the recordset. Added by Iv醤 Oliva to provide recordset pagination.	*	* @param secs2cache	seconds to cache data, set to 0 to force query	* @param sql	* @param nrows		is the number of rows per page to get	* @param page		is 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩激情| 日韩一区二区在线免费观看| www国产精品av| 久久精品国产99国产| 日韩亚洲欧美在线| 国内外成人在线| 国产亚洲精品aa| 91色porny在线视频| 一区二区三区在线观看视频| 欧美性猛交xxxx乱大交退制版| 亚洲午夜精品17c| 欧美一三区三区四区免费在线看| 日本亚洲最大的色成网站www| 日韩一区二区中文字幕| 国产福利一区在线| 亚洲黄色在线视频| 欧美一区二区私人影院日本| 国产在线精品一区二区| 中文字幕 久热精品 视频在线| 91亚洲国产成人精品一区二三| 夜夜嗨av一区二区三区四季av| 91精品国产一区二区三区香蕉| 国产在线播放一区| 亚洲乱码国产乱码精品精可以看| 欧美丰满少妇xxxbbb| 国产精品亚洲午夜一区二区三区| 日韩一区有码在线| 91麻豆精品久久久久蜜臀| 国产成人鲁色资源国产91色综 | 国产成人午夜片在线观看高清观看| 91九色最新地址| 国产99久久久国产精品免费看| 91丨porny丨蝌蚪视频| 欧美日韩国产123区| 一区二区三区四区高清精品免费观看| 久久无码av三级| 亚洲一区二区影院| 久久爱另类一区二区小说| 欧美日韩国产片| 成人在线视频一区| 亚洲第一在线综合网站| 久久天天做天天爱综合色| 欧美主播一区二区三区美女| 精品一区二区三区在线播放| 亚洲精品国久久99热| 久久亚洲一级片| 欧美三级日本三级少妇99| 成人性视频免费网站| 天天操天天干天天综合网| 国产精品理伦片| 欧美成人官网二区| 精品视频1区2区| 92国产精品观看| 国产精品91xxx| 久久精品噜噜噜成人av农村| 亚洲一级电影视频| 亚洲三级小视频| 久久久不卡网国产精品二区| 在线播放亚洲一区| 国产欧美一区二区精品久导航 | 成人一区二区视频| 精品一区免费av| 日韩激情视频在线观看| 一区二区三区在线视频免费 | 99在线精品一区二区三区| 久久福利视频一区二区| 日本最新不卡在线| 亚洲国产精品久久人人爱蜜臀| 国产精品久久一级| 国产精品青草综合久久久久99| 欧美精品一区二区三区蜜桃视频| 欧美一区二区私人影院日本| 欧美精品九九99久久| 在线观看欧美日本| 在线观看91视频| 欧美专区在线观看一区| 色呦呦日韩精品| 91国产免费看| 91精品福利视频| 欧美视频在线不卡| 欧美日韩aaaaa| 欧美精品1区2区3区| 欧美日韩免费电影| 777久久久精品| 日韩女优制服丝袜电影| 日韩免费一区二区| 精品国免费一区二区三区| 精品对白一区国产伦| 精品国产一区二区三区四区四| 精品久久久久久久久久久院品网| 欧美成人一区二区| 久久精品水蜜桃av综合天堂| 久久精品一二三| 1024国产精品| 亚洲一级在线观看| 蜜桃av噜噜一区| 国产一区欧美一区| 9i看片成人免费高清| 91网站黄www| 欧美日本韩国一区| 精品国产sm最大网站| 中文字幕第一页久久| 一区二区三区四区蜜桃| 日韩黄色免费电影| 国产一区二区电影| 99精品欧美一区二区三区小说| 欧美影院一区二区| 日韩精品中午字幕| 中文字幕乱码一区二区免费| 一区二区三区四区中文字幕| 奇米色777欧美一区二区| 国产精品亚洲午夜一区二区三区| 91在线观看下载| 欧美一区二区三区系列电影| 久久久久久综合| 亚洲夂夂婷婷色拍ww47| 精品一区二区免费在线观看| av欧美精品.com| 91精品在线一区二区| 国产精品丝袜一区| 五月激情丁香一区二区三区| 国产成人综合在线播放| 欧美色倩网站大全免费| 日本人妖一区二区| 成人app软件下载大全免费| 欧美午夜宅男影院| 久久九九99视频| 亚洲成人一二三| www.亚洲激情.com| 日韩三级免费观看| 一区二区三区 在线观看视频| 精油按摩中文字幕久久| 在线精品视频免费观看| 久久久另类综合| 日本欧美大码aⅴ在线播放| av激情成人网| 久久在线观看免费| 午夜久久久影院| 91看片淫黄大片一级| 久久精品视频免费观看| 日韩综合小视频| 一本色道久久综合精品竹菊| 久久久精品中文字幕麻豆发布| 亚洲福利国产精品| 91片黄在线观看| 国产欧美一区二区精品久导航| 日韩国产在线一| 欧美色大人视频| 亚洲乱码中文字幕| www.欧美精品一二区| 2欧美一区二区三区在线观看视频| 亚洲成人动漫在线免费观看| 91色在线porny| 国产精品久久久久久亚洲伦| 国内国产精品久久| 日韩欧美国产三级电影视频| 亚洲电影第三页| 欧美系列亚洲系列| 亚洲一区二区欧美| 在线视频一区二区三| 国产精品国产a| av电影一区二区| 国产精品入口麻豆九色| 国产成人免费在线| 中文字幕电影一区| 久久奇米777| 国内精品免费在线观看| 欧美大肚乱孕交hd孕妇| 免费成人av资源网| 精品久久人人做人人爱| 另类人妖一区二区av| 日韩欧美在线综合网| 麻豆专区一区二区三区四区五区| 日韩一区二区三区观看| 蜜臀久久久久久久| 精品国产乱码久久久久久影片| 久久99精品国产麻豆不卡| 精品欧美乱码久久久久久| 久久99精品久久久久久国产越南 | 日韩一级欧美一级| 老鸭窝一区二区久久精品| 精品国产乱码久久久久久牛牛| 久久精品99国产精品| 久久香蕉国产线看观看99| 国产福利一区在线| 中文字幕一区二区三区av| 91丨九色丨黑人外教| 亚洲国产日韩在线一区模特| 在线电影欧美成精品| 开心九九激情九九欧美日韩精美视频电影 | 蜜乳av一区二区三区| 欧美精品一区二区三区在线播放 | 国产精品毛片a∨一区二区三区| av在线不卡观看免费观看| 一区二区三区四区蜜桃| 欧美一区二区三区在| 国产成人亚洲精品青草天美| 亚洲精品一二三区| 欧美一区二区三区婷婷月色| 岛国av在线一区|