Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 577) sorted by relevance

12345678910>>...24

/PHP-5.5/ext/standard/tests/url/
H A Dbug63162.phpt5 [0]=> http://user:pass@host
6 [1]=> //user:pass@host
7 [2]=> //user@host
11 var_dump(parse_url('//user:pass@host'));
12 var_dump(parse_url('//user@host'));
18 ["host"]=>
19 string(4) "host"
26 ["host"]=>
27 string(4) "host"
34 ["host"]=>
[all …]
H A Dparse_url_basic_001.phpt33 ["host"]=>
40 ["host"]=>
52 ["host"]=>
73 ["host"]=>
80 ["host"]=>
99 ["host"]=>
106 ["host"]=>
113 ["host"]=>
122 ["host"]=>
131 ["host"]=>
[all …]
/PHP-5.5/ext/intl/tests/
H A Dmsgfmt_format_subpatterns_named.phpt23 =0 {{host} does not give a party.}
24 =1 {{host} invites {guest} to her party.}
25 =2 {{host} invites {guest} and one other person to her party.}
26 other {{host} invites {guest} as one of the # people invited to her party.}}}
28 =0 {{host} does not give a party.}
29 =1 {{host} invites {guest} to his party.}
30 =2 {{host} invites {guest} and one other person to his party.}
31 other {{host} invites {guest} as one of the # people invited to his party.}}}
33 =0 {{host} does not give a party.}
34 =1 {{host} invites {guest} to their party.}
[all …]
/PHP-5.5/ext/imap/tests/
H A Dbug46918.phpt2 Bug #46918 (imap_rfc822_parse_adrlist host part not filled in correctly)
29 'host' => 'example.ac.uk',
35 'host' => 'example.ac.uk',
40 'host' => 'example.com',
45 'host' => 'example.ac.uk',
51 'host' => 'example.ac.uk',
57 'host' => '#',
62 'host' => '-example.com',
67 'host' => 'one',
72 'host' => '.SYNTAX-ERROR.',
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_pconn_twice.phpt18 $host = 'p:' . $host;
19 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
21 $host, $user, $db, $port, $socket);
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))
39 $host, $user, $db, $port, $socket);
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))
61 $host, $user, $db, $port, $socket);
[all …]
H A Dmysqli_pconnect.phpt13 $host = 'p:' . $host;
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,…
16 $host, $user, $db, $port, $socket);
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_pconn_kill.phpt18 $host = 'p:' . $host;
19 if (!$plink = 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,…
21 $host, $user, $db, $port, $socket);
67 if (!$plink = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
68 …printf("[011] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
69 $host, $user, $db, $port, $socket);
78 // remove the "p:<host>" from the host variable
79 $host = substr($host, 2);
80 if (!$link = my_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,…
15 $host, $user, $db, $port, $socket);
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))
40 $host, $user, $db, $port, $socket);
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))
68 $host, $user, $db, $port, $socket);
[all …]
H A Dmysqli_pconn_limits.phpt28 if (!$link2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
40 $host = 'p:' . $host;
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…
43 $host, $user, $db, $port, $socket,
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…
56 $host, $user, $db, $port, $socket,
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…
[all …]
H A Dmysqli_real_connect_pconn.phpt18 $host = 'p:' . $host;
23 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))
25 $host, $user, $db, $port, $socket);
36 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) {
45 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) {
54 if (!mysqli_real_connect($link, $host, $user)) {
63 if (!mysqli_real_connect($link, $host)) {
71 ini_set('mysqli.default_host', $host);
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))
[all …]
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,…
22 $host, $user, $db, $port, $socket);
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…
31 $host, $user . 'unknown_really', $db, $port, $socket);
H A Dmysqli_connect_oo.phpt20 $host, $user . 'unknown_really', $db, $port, $socket);
41 if (!is_object($mysqli = new mysqli($host, $user)) || (0 !== mysqli_connect_errno())) {
48 if (!is_object($mysqli = new mysqli($host)) || (0 !== mysqli_connect_errno())) {
54 ini_set('mysqli.default_host', $host);
69 ini_set('mysqli.default_host', 'p:' . $host);
92 $host, $user . 'unknown_really', $db, $port, $socket);
100 $mysqli = new mysqli($host, $user, $passwd, $db, $port);
109 $mysqli = new mysqli($host, $user, $passwd, $db);
118 $mysqli = new mysqli($host, $user);
127 $mysqli = new mysqli($host);
[all …]
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,…
22 $host, $user, $db, $port, $socket);
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…
32 $host, $user . 'unknown_really', $db, $port, $socket, gettype($link), var_export($link, true));
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_…
/PHP-5.5/ext/mysql/tests/
H A Dmysql_max_links.phpt14 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) {
16 $host = sprintf("%s:%s", $host, $socket);
18 $host = sprintf("%s:%s", $host, $port);
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);
[all …]
H A Dbug51242.phpt14 if ($host == 'localhost') {
15 $host = '127.0.0.1';
18 if (!@mysql_connect("$host:3306", $user, $passwd)) {
19 die("skip mysql not available at $host:3306");
26 if ($host == 'localhost') {
27 $host = '127.0.0.1';
30 if ($link = my_mysql_connect($host, $user, $passwd, $db, null, $socket)) {
33 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
34 $host, $user, $db, null, $socket);
H A Dmysql_sql_safe_mode.phpt17 $host = sprintf("%s:%s", $host, $socket);
19 $host = sprintf("%s:%s", $host, $port);
21 if ($link = mysql_connect($host, $user, $passwd, true)) {
26 if ($link = mysql_pconnect($host, $user, $passwd)) {
33 Notice: mysql_connect(): SQL safe mode in effect - ignoring host/user/password information in %s on…
37 Notice: mysql_pconnect(): SQL safe mode in effect - ignoring host/user/password information in %s o…
H A Dmysql_max_persistent.phpt16 // we might be able to specify the host using CURRENT_USER(), but...
34 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) {
36 $host = sprintf("%s:%s", $host, $socket);
38 $host = sprintf("%s:%s", $host, $port);
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)) {
84 $host, $myhost, $user, $db, $port, $socket);
[all …]
H A D001.phpt14 $host = sprintf("%s:%s", $host, $socket);
16 $host = sprintf("%s:%s", $host, $port);
19 $db = mysql_connect($host, $user, $passwd);
24 $db = mysql_connect($host, $user, $passwd, true);
H A Dconnect.inc24 …function my_mysql_connect($host, $user, $passwd, $db, $port, $socket, $flags = NULL, $persistent =…
30 $host = sprintf("%s:%s", $host, $socket);
32 $host = sprintf("%s:%s", $host, $port);
35 $link = mysql_pconnect($host, $user, $passwd, $flags);
37 $link = mysql_connect($host, $user, $passwd, true, $flags);
41 …printf("[000-a] Cannot connect using host '%s', user '%s', password '****', persistent = %d, [%d] …
42 $host, $user, ($persistent) ? 1 : 0,
63 $host = getenv("MYSQL_TEST_HOST") ? getenv("MYSQL_TEST_HOST") : "localhost";
H A Dmysql_pconn_max_links.phpt10 $host = sprintf("%s:%s", $host, $socket);
12 $host = sprintf("%s:%s", $host, $port);
15 if (!$link = mysql_connect($host, $user, $passwd, true))
49 // we might be able to specify the host using CURRENT_USER(), but...
70 $host = sprintf("%s:%s", $host, $socket);
72 $host = sprintf("%s:%s", $host, $port);
74 if (!$plink = mysql_pconnect($host, $user, $passwd))
131 if ($plink = @mysql_pconnect($host, 'pcontest', 'pcontest'))
150 if (!$plink = mysql_pconnect($host, 'pcontest', 'newpass'))
176 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) {
[all …]
H A Dbug48754.phpt12 function my_mysql_pconnect($host, $user, $passwd, $db, $port, $socket) {
14 $host = sprintf("%s:%s", $host, $socket);
16 $host = sprintf("%s:%s", $host, $port);
18 if (!$link = mysql_pconnect($host, $user, $passwd, true)) {
19 printf("[000-a] Cannot connect using host '%s', user '%s', password '****', [%d] %s\n",
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);
/PHP-5.5/ext/standard/tests/strings/
H A Durl_t.phpt101 ["host"]=>
108 ["host"]=>
120 ["host"]=>
141 ["host"]=>
148 ["host"]=>
167 ["host"]=>
174 ["host"]=>
181 ["host"]=>
190 ["host"]=>
199 ["host"]=>
[all …]
/PHP-5.5/sapi/cli/tests/
H A Dphp_cli_server_009.phpt15 list($host, $port) = explode(':', PHP_CLI_SERVER_ADDRESS);
18 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
25 Host: {$host}
37 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
45 Host: {$host}
57 $fp = fsockopen($host, $port, $errno, $errstr, 0.5);
65 Host: {$host}
/PHP-5.5/ext/standard/
H A Dfsock.c34 char *host; in php_fsockopen_stream() local
50 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzzd", &host, &host_len, &port, &zerrno, &… in php_fsockopen_stream()
55 spprintf(&hashkey, 0, "pfsockopen__%s:%ld", host, port); in php_fsockopen_stream()
59 hostname_len = spprintf(&hostname, 0, "%s:%ld", host, port); in php_fsockopen_stream()
62 hostname = host; in php_fsockopen_stream()
86 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s:%ld (%s)", host, port, errstr… in php_fsockopen_stream()

Completed in 51 milliseconds

12345678910>>...24