Home
last modified time | relevance | path

Searched refs:passwd (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/PHP-5.3/ext/mysql/tests/
H A Dmysql_max_links.phpt14 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) {
20 $link = mysql_connect($host, $user, $passwd, true);
24 $offset, $host, $user, $passwd,
35 $links[0] = my_connect(10, $host, $user, $passwd, $db, $port, $socket);
36 $links[1] = my_connect(20, $host, $user, $passwd, $db, $port, $socket);
37 $links[2] = my_connect(30, $host, $user, $passwd, $db, $port, $socket);
47 $links[0] = my_connect(50, $host, $user, $passwd, $db, $port, $socket);
48 $links[2] = my_connect(60, $host, $user, $passwd, $db, $port, $socket);
H A Dmysql_connect.phpt20 if (!$link = mysql_connect($myhost, $user, $passwd, true))
21 …printf("[002] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=…
26 if (!$link = mysql_connect($myhost, $user, $passwd, true))
27 …printf("[003] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=…
32 if ($link = mysql_connect($myhost, $user . 'unknown_really', $passwd . 'non_empty', true))
33 …printf("[004] Can connect to the server using host=%s/%s, user=%s, passwd=***non_empty, dbname=%s,…
42 if (!is_resource($link = mysql_connect($host, $user, $passwd, true))) {
53 if (!is_resource($link = mysql_connect($host, $user, $passwd, true))) {
60 ini_set('mysql.default_password', $passwd);
H A Dmysql_pconnect.phpt23 if (!$link = mysql_pconnect($myhost, $user, $passwd, true))
24 …printf("[002] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=…
29 if ($link = mysql_pconnect($myhost, $user . 'unknown_really', $passwd . 'non_empty', true))
30 …printf("[003] Can connect to the server using host=%s/%s, user=%s, passwd=***non_empty, dbname=%s,…
43 if (!is_resource($link = mysql_pconnect($host, $user, $passwd, true))) {
53 if (!is_resource($link = mysql_pconnect($host, $user, $passwd, true))) {
59 ini_set('mysql.default_password', $passwd);
H A Dbug48754.phpt12 function my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket) {
18 if (!$link = mysql_pconnect($host, $user, $passwd, true)) {
20 $host, $user, $passwd,
28 $link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket);
41 $link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket);
53 $link = my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket);
62 $link = my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket);
H A Dmysql_max_persistent.phpt34 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) {
41 $link = mysql_pconnect($host, $user, $passwd);
44 $offset, $host, $user, $passwd,
58 $links[0] = my_connect(10, $host, $user, $passwd, $db, $port, $socket);
69 $links[0] = my_connect(40, $host, $user, $passwd, $db, $port, $socket);
82 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) {
83 …printf("[c001] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port…
H A Dbug47438.phpt12 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
13 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
39 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
40 …printf("[c001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s…
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_pconn_twice.phpt19 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
20 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
37 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
38 …printf("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
42 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
56 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
59 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
60 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
H A D001.phpt16 $link = my_mysqli_connect($host, $user, $passwd, "", $port, $socket);
22 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) )
28 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
34 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
43 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
52 …$test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, MYSQLI_CLIENT_…
H A Dbug29311.phpt15 global $host, $user, $passwd, $db, $port, $socket;
16 parent::__construct($host, $user, $passwd, $db, $port, $socket);
24 global $host, $user, $passwd, $db, $port, $socket;
25 $this->connect($host, $user, $passwd, $db, $port, $socket);
36 $foo[2] = new mysql3($host, $user, $passwd, $db, $port, $socket);
H A Dmysqli_pconn_conn_multiple.phpt19 if (!$link = my_mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
44 if (!$link = new my_mysqli($phost, $user, $passwd, $db, $port, $socket))
51 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
69 if (NULL !== ($tmp = $link->connect($phost, $user, $passwd, $db, $port, $socket)))
72 if (!$link = mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
76 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
81 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
106 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
131 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
134 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
[all …]
H A Dmysqli_connect_twice.phpt13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
14 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
20 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
38 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
39 …printf("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
45 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket)))
63 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
66 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
67 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
70 if (NULL !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
H A Dmysqli_change_user.phpt31 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
32 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
35 …if (false !== ($tmp = mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty', …
38 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd . '_unknown_really', $db)))
41 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd, $db . '_unknown_really')))
54 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db)))
76 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
77 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
86 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
93 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, "")))
[all …]
H A Dbug36949.phpt16 global $user, $host, $passwd, $db, $port, $socket;
17 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
34 global $user, $host, $passwd, $db, $port, $socket;
35 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
53 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
H A Dmysqli_pconnect.phpt14 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
15 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
39 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
55 if (!$connections[$index] = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
H A Dmysqli_connect_error.phpt20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
21 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
29 …if ($link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port,…
30 …printf("[003] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam…
H A Dbug33263.phpt15 public function __construct($host, $user, $passwd, $db, $port, $socket) {
17 parent::real_connect($host, $user, $passwd, $db, $port, $socket);
21 $mysql = new test($host, $user, $passwd, $db, $port, $socket);
H A Dmysqli_connect_errno.phpt20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
21 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
29 …$link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so…
31 …printf("[004] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam…
H A Dmysqli_pconn_limits.phpt28 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
41 if (!$plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
42 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
54 if (!$plink2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
55 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
68 if (!my_mysqli_real_connect($plink3, $host, $user, $passwd, $db, $port, $socket))
69 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
H A Dmysqli_real_connect_pconn.phpt23 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
24 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
31 …if (false !== ($tmp = mysqli_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_e…
32 …olean/false got %s/%s. Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbna…
36 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) {
45 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) {
53 ini_set('mysqli.default_pw', $passwd);
81 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536))
100 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128))
144 if (NULL === ($tmp = mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)))
H A Dmysqli_get_connection_stats_off.phpt20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
21 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
31 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
32 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
/PHP-5.3/ext/zip/lib/
H A Dzip_set_default_password.c44 zip_set_default_password(struct zip *za, const char *passwd) in zip_set_default_password() argument
52 if (passwd) { in zip_set_default_password()
53 if ((za->default_password=strdup(passwd)) == NULL) { in zip_set_default_password()
/PHP-5.3/ext/standard/
H A Dphp_crypt_r.c139 char *passwd = out; in php_md5_crypt_r() local
220 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r()
226 passwd[MD5_MAGIC_LEN + sl] = '\0'; in php_md5_crypt_r()
227 strcat_s(passwd, MD5_HASH_MAX_LEN, "$"); in php_md5_crypt_r()
231 strcat(passwd, "$"); in php_md5_crypt_r()
285 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
326 static char passwd[MD5_HASH_MAX_LEN], *p; in php_md5_crypt_r() local
382 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r()
384 strcat(passwd, "$"); in php_md5_crypt_r()
415 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r()
[all …]
/PHP-5.3/ext/ldap/tests/
H A Dldap_set_rebind_proc_basic.phpt15 global $passwd;
21 if (!ldap_bind($a, $user, $passwd)) {
26 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
H A Dldap_unbind_variation.phpt15 global $passwd;
21 if (!ldap_bind($a, $user, $passwd)) {
26 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
H A Dldap_sasl_bind_error.phpt21 var_dump(ldap_sasl_bind($link, "Invalid DN", $passwd, 'DIGEST-MD5', 'realm', $sasl_user));
24 var_dump(ldap_sasl_bind($link, null, "ThisIsNotCorrect$passwd", 'DIGEST-MD5', "realm", "invalid$sas…
27 var_dump(ldap_sasl_bind($link, null, "ThisIsNotCorrect$passwd", 'DIGEST-MD5', "realm", $sasl_user));
29 var_dump(ldap_sasl_bind($link, null, $passwd, 'DIGEST-MD5', "realm", "Manager", "test"));
32 var_dump(ldap_sasl_bind($link, "unexistingProperty=weirdValue,$user", $passwd));

Completed in 99 milliseconds

12345678910>>...17