Lines Matching refs:link
14 $link = NULL;
16 if (NULL !== ($tmp = @mysqli_real_connect($link)))
19 if (NULL !== ($tmp = @mysqli_real_connect($link, $link)))
22 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link)))
25 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link)))
28 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link)))
31 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link, $link)))
34 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link, $link, $link)))
37 …// ( mysqli link [, string hostname [, string username [, string passwd [, string dbname [, int p…
38 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link, $link, $link, $link)))
41 if (!$link = mysqli_init())
44 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
48 mysqli_close($link);
49 if (!$link = mysqli_init())
52 …if (false !== ($tmp = mysqli_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_e…
57 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) {
60 mysqli_close($link);
61 if (!$link = mysqli_init())
66 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) {
69 mysqli_close($link);
70 if (!$link = mysqli_init())
75 if (!mysqli_real_connect($link, $host, $user)) {
78 mysqli_close($link);
79 if (!$link = mysqli_init())
84 if (!mysqli_real_connect($link, $host)) {
87 mysqli_close($link);
88 if (!$link = mysqli_init())
93 if (!mysqli_real_connect($link)) {
96 mysqli_close($link);
97 if (!$link = mysqli_init())
102 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536))
103 printf("[016] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
105 if ($res = mysqli_query($link, "SELECT 1 AS a; SELECT 2 AS b")) {
108 mysqli_next_result($link);
109 $res = mysqli_store_result($link);
114 mysqli_close($link);
115 if (!$link = mysqli_init())
121 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128))
122 printf("[019] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
132 …if (mysqli_query($link, "LOAD DATA LOCAL INFILE '$filename' INTO TABLE test FIELDS TERMINATED BY '…
138 mysqli_close($link);
139 @var_dump($link);
143 $link = mysqli_init();
144 if (!@mysqli_real_connect($link)) {
147 if (!$res = mysqli_query($link, "SELECT 'mysqli.default_host (persistent)' AS 'testing'"))
148 printf("[023] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
152 mysqli_errno($link), mysqli_error($link));
156 mysqli_close($link);
160 $link = mysqli_init();
161 if (@mysqli_real_connect($link)) {
163 mysqli_close($link);
165 @mysqli_close($link);
168 if (NULL !== ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))