Lines Matching refs:dsn
8 if (strpos($dsn, '=') === false) {
19 $dsn = str_replace(";uid={$user};pwd={$pass}", '', $dsn);
21 echo "dsn without credentials / correct user / correct password\n";
22 $conn = odbc_connect($dsn, $user, $pass);
26 echo "dsn with correct user / incorrect user / correct password\n";
27 $conn = odbc_connect("{$dsn};uid={$user}", 'hoge', $pass);
31 echo "dsn with correct password / correct user / incorrect password\n";
32 $conn = odbc_connect("{$dsn};PWD={$pass}", $user, 'fuga');
36 echo "dsn with correct credentials / incorrect user / incorrect password\n";
37 $conn = odbc_connect("{$dsn};Uid={$user};pwD={$pass}", 'hoge', 'fuga');
41 echo "dsn with correct credentials / null user / null password\n";
42 $conn = odbc_connect("{$dsn};Uid={$user};pwD={$pass}", null, null);
46 echo "dsn with correct credentials / not set user / not set password\n";
47 $conn = odbc_connect("{$dsn};Uid={$user};pwD={$pass}");
52 dsn without credentials / correct user / correct password
55 dsn with correct user / incorrect user / correct password
58 dsn with correct password / correct user / incorrect password
61 dsn with correct credentials / incorrect user / incorrect password
64 dsn with correct credentials / null user / null password
67 dsn with correct credentials / not set user / not set password