Lines Matching refs:link

16 	$link   = NULL;
18 if (NULL !== ($tmp = @mysqli_real_connect($link)))
21 if (NULL !== ($tmp = @mysqli_real_connect($link, $link)))
24 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link)))
27 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link)))
30 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link)))
33 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link, $link)))
36 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link, $link, $link)))
39 …// ( mysqli link [, string hostname [, string username [, string passwd [, string dbname [, int p…
40 if (NULL !== ($tmp = @mysqli_real_connect($link, $link, $link, $link, $link, $link, $link, $link)))
43 if (!$link = mysqli_init())
46 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
50 mysqli_close($link);
51 if (!$link = mysqli_init())
54 …if (false !== ($tmp = mysqli_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_e…
59 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) {
62 mysqli_close($link);
63 if (!$link = mysqli_init())
68 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) {
71 mysqli_close($link);
72 if (!$link = mysqli_init())
77 if (!mysqli_real_connect($link, $host, $user)) {
80 mysqli_close($link);
81 if (!$link = mysqli_init())
86 if (!mysqli_real_connect($link, $host)) {
89 mysqli_close($link);
90 if (!$link = mysqli_init())
95 if (!mysqli_real_connect($link)) {
98 mysqli_close($link);
99 if (!$link = mysqli_init())
104 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536))
105 printf("[016] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
107 if ($res = mysqli_query($link, "SELECT 1 AS a; SELECT 2 AS b")) {
110 mysqli_next_result($link);
111 $res = mysqli_store_result($link);
116 mysqli_close($link);
117 if (!$link = mysqli_init())
123 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128))
124 printf("[019] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
134 …if (mysqli_query($link, "LOAD DATA LOCAL INFILE '$filename' INTO TABLE test FIELDS TERMINATED BY '…
140 mysqli_close($link);
141 @var_dump($link);
145 $link = mysqli_init();
146 if (!@mysqli_real_connect($link)) {
149 if (!$res = mysqli_query($link, "SELECT 'mysqli.default_host (persistent)' AS 'testing'"))
150 printf("[023] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
154 mysqli_errno($link), mysqli_error($link));
158 mysqli_close($link);
162 $link = mysqli_init();
163 if (@mysqli_real_connect($link)) {
165 mysqli_close($link);
167 @mysqli_close($link);
170 if (false !== ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))