/PHP-5.6/ext/mysqli/tests/ |
H A D | mysqli_pconn_twice.phpt | 19 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 D | 001.phpt | 16 $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 D | mysqli_change_user.phpt | 31 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 38 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 42 if (false !== ($tmp = @mysqli_change_user($link, $user, $passwd . '_unknown_really', $db))) 46 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 60 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db))) 78 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 88 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 95 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, ""))) 108 if (NULL !== ($tmp = @mysqli_change_user($link, $user, $passwd, $db))) 111 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) [all …]
|
H A D | mysqli_change_user_old.phpt | 9 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 38 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 42 …if (false !== ($tmp = mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty', … 45 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd . '_unknown_really', $db))) 48 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd, $db . '_unknown_really'))) 55 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 69 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db))) 91 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 101 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 108 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, ""))) [all …]
|
H A D | bug29311.phpt | 15 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 D | mysqli_pconn_conn_multiple.phpt | 19 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 D | mysqli_connect_twice.phpt | 13 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 D | mysqli_change_user_oo.phpt | 24 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 25 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 40 if (false !== ($tmp = $mysqli->change_user($user . '_unknown_really', $passwd . 'non_empty', $db))) 43 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db))) 46 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really'))) 50 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 51 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 64 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db))) 86 if (NULL !== ($tmp = @$mysqli->change_user($user, $passwd, $db)))
|
H A D | bug36949.phpt | 16 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 D | mysqli_change_user_new.phpt | 9 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 24 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 28 …if (false !== ($tmp = @mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty',…
|
H A D | mysqli_pconnect.phpt | 14 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 D | mysqli_connect_error.phpt | 20 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 D | bug33263.phpt | 15 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 D | mysqli_connect_errno.phpt | 20 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 D | mysqli_report_new.phpt | 9 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 35 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 36 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_pconn_limits.phpt | 28 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 D | mysqli_real_connect_pconn.phpt | 23 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 D | mysqli_get_connection_stats_off.phpt | 20 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,…
|
H A D | mysqli_options_init_command.phpt | 15 if (!($link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))) 16 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 40 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 41 …printf("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 65 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 66 …printf("[010] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
/PHP-5.6/ext/zip/lib/ |
H A D | zip_set_default_password.c | 44 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.6/ext/mysql/tests/ |
H A D | mysql_max_links.phpt | 14 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);
|
/PHP-5.6/ext/standard/ |
H A D | php_crypt_r.c | 139 char *passwd = out; in php_md5_crypt_r() local 220 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r() 225 passwd[MD5_MAGIC_LEN + sl] = '\0'; in php_md5_crypt_r() 226 strcat_s(passwd, MD5_HASH_MAX_LEN, "$"); in php_md5_crypt_r() 280 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r() 321 static char passwd[MD5_HASH_MAX_LEN], *p; in php_md5_crypt_r() local 377 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r() 378 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); in php_md5_crypt_r() 379 strcat(passwd, "$"); in php_md5_crypt_r() 410 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r() [all …]
|
/PHP-5.6/ext/ldap/tests/ |
H A D | ldap_set_rebind_proc_basic.phpt | 15 global $passwd; 21 if (!ldap_bind($a, $user, $passwd)) { 26 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
|
H A D | ldap_unbind_variation.phpt | 15 global $passwd; 21 if (!ldap_bind($a, $user, $passwd)) { 26 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
|
H A D | ldap_sasl_bind_error.phpt | 21 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));
|