db conn





PHPXRef 0.7 : NEABExplorer : /libs/db_conn.php source









[ Index ]


PHP Cross Reference of NEABExplorer














if (gwGetCookie('xrefnav')=='off')
document.write('[ Show Explorer ]');
else
document.write('[ Hide Explorer ]');



[ Show Explorer ]
[ Hide Navbar ]





titleBody[close]
/libs/ -> db_conn.php (source)

[Summary view]
[Print]
[Text view]


1 <?PHP
2 /**
3 * Emulate ADODB (min) functionalities and at the same time be 2x as fast
4 * Code used for PHP 4.X
5 */
6
7 if(!isset($basedir))
8 {
9 $cur=getcwd();
10 $cur=str_replace("\\","/",$cur);
11 while($cur != "")
12 {
13 if(file_exists("$cur/game.php"))
14 {
15 $basedir=$cur;
16 break;
17 }
18 $cur=substr($cur,0,strrpos($cur,"/"));
19 }
20 }
21
22 include_once "$basedir/config/config.inc";
23
24 if((substr(phpversion(),0,1)+0) >= 5)
25 {
26 date_default_timezone_set(date_default_timezone_get());
27 include "$basedir/libs/db_conn_5.php"; // Database connection
28 }
29 else
30 include "$basedir/libs/db_conn_4.php"; // Database connection
31
32 ?>



FUNC_DATA={
'file_exists': ['file_exists', '', [], 48],
'substr': ['substr', '', [], 91],
'strrpos': ['strrpos', '', [], 10],
'phpversion': ['phpversion', '', [], 1],
'getcwd': ['getcwd', '', [], 4],
'str_replace': ['str_replace', '', [], 44]};
CLASS_DATA={
};
CONST_DATA={
};

titleDescriptionBody
titleDescriptionBody
titleDescriptionBody
titleBody



Generated: Sun Jul 8 18:11:25 2007
Cross-referenced by PHPXref 0.7





Wyszukiwarka

Podobne podstrony:
db conn 4
db conn 5
db conn
db conn 5
db conn 5
db conn 4
db conn
db conn 4
db conn
DB
DB AmbershawTOU
DB Movie 03 Mysterious Adventures
db techshare
db poland
db naval tech
db revolt
db event list
db strategic bomber

więcej podobnych podstron