Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 515) sorted by relevance

12345678910>>...21

/PHP-5.3/ext/mysqli/tests/
H A D001.phpt15 /*** test mysqli_connect localhost:port ***/
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))
32 /*** test mysqli_real_connect with port ***/
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 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,…
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_pconn_conn_multiple.phpt19 if (!$link = my_mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
21 $phost, $user, $db, $port, $socket);
44 if (!$link = new my_mysqli($phost, $user, $passwd, $db, $port, $socket))
46 $phost, $user, $db, $port, $socket);
72 if (!$link = mysqli_connect($phost, $user, $passwd, $db, $port, $socket))
74 $phost, $user, $db, $port, $socket);
83 $host, $user, $db, $port, $socket);
106 if (!$link = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
108 $host, $user, $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,…
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_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 …e server should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n",
31 $host, $user . 'unknown_really', $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,…
22 $host, $user, $db, $port, $socket);
29 …$link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so…
31 …erver should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s, expe…
32 $host, $user . 'unknown_really', $db, $port, $socket, gettype($link), var_export($link, true));
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_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 …eate persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d]…
43 $host, $user, $db, $port, $socket,
54 if (!$plink2 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
55 …eate persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d]…
56 $host, $user, $db, $port, $socket,
68 if (!my_mysqli_real_connect($plink3, $host, $user, $passwd, $db, $port, $socket))
69 …eate persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s, [%d]…
70 $host, $user, $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,…
22 $host, $user, $db, $port, $socket);
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,…
33 $host, $user, $db, $port, $socket);
H A Dmysqli_options_init_command.phpt15 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,…
17 $host, $user, $db, $port, $socket);
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,…
42 $host, $user, $db, $port, $socket);
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,…
67 $host, $user, $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,…
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))
/PHP-5.3/ext/standard/
H A Dfsock.c36 long port = -1; 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()
58 if (port > 0) { in php_fsockopen_stream()
59 hostname_len = spprintf(&hostname, 0, "%s:%ld", host, port); in php_fsockopen_stream()
82 if (port > 0) { 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()
/PHP-5.3/ext/sockets/tests/
H A Dsocket_getpeername_ipv4loop.phpt17 /* Hold the port associated to address */
18 $port = 31337;
26 if (!socket_bind($server, $localhost, $port)) {
27 die('Unable to bind to '.$localhost.':'.$port);
38 if (!socket_connect($client, $localhost, $port)) {
48 if (!socket_getpeername($client, $address, $port)) {
51 var_dump($address, $port);
H A Dsocket_getpeername_ipv6loop.phpt18 /* Hold the port associated to address */
19 $port = 31337;
27 if (!socket_bind($server, $localhost, $port)) {
28 die('Unable to bind to '.$localhost.':'.$port);
39 if (!socket_connect($client, $localhost, $port)) {
49 if (!socket_getpeername($client, $address, $port)) {
52 var_dump($address, $port);
/PHP-5.3/ext/mysql/tests/
H A Dmysql_connect.phpt19 $myhost = (is_null($socket)) ? ((is_null($port)) ? $host : $host . ':' . $port) : $host . ':' . $so…
21 …printf("[002] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=…
22 $host, $myhost, $user, $db, $port, $socket);
27 …printf("[003] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=…
28 $host, $myhost, $user, $db, $port, $socket);
34 $host, $myhost, $user . 'unknown_really', $db, $port, $socket);
51 ini_set('mysql.default_port', $port);
52 if (!is_null($port)) {
89 if (putenv(sprintf('MYSQL_TCP_PORT=%d', $port))) {
95 } else if (putenv(sprintf('MYSQL_TCP_PORT=%d', $port + 1))) {
[all …]
H A Dmysql_max_links.phpt14 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) {
17 else if ($port)
18 $host = sprintf("%s:%s", $host, $port);
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 Dbug47438.phpt12 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
13 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
14 $host, $user, $db, $port, $socket);
39 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket))
40 … Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n",
41 $host, $user, $db, $port, $socket);
H A Dmysql_max_persistent.phpt34 function my_connect($offset, $host, $user, $passwd, $db, $port, $socket) {
37 else if ($port)
38 $host = sprintf("%s:%s", $host, $port);
58 $links[0] = my_connect(10, $host, $user, $passwd, $db, $port, $socket);
59 $links[1] = my_connect(20, $host, 'pcontest', 'pcontest', $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
84 $host, $myhost, $user, $db, $port, $socket);
/PHP-5.3/ext/standard/tests/network/
H A Dfsockopen_variation2.phpt7 $port = '31337';
10 $server = stream_socket_server($hostname . ':' . $port, $errno, $errstr, STREAM_SERVER_BIND);
13 $client = fsockopen($hostname, $port);
21 echo "\nCalling fsockopen() with address and port in same string:\n";
22 $address = $hostname . ':' . $port;
43 Calling fsockopen() with address and port in same string:
H A Dfsockopen_basic.phpt5 /* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [,…
19 $port = 31337;
25 $client = fsockopen($hostname, $port, $errno, $errstr, $timeout);
30 $second_client = fsockopen($hostname, $port);
34 echo "\nCalling fsockopen() with address and port in same string:\n";
35 $address = $hostname . ':' . $port;
52 Calling fsockopen() with address and port in same string:
H A Dfsockopen_variation1.phpt11 $port = '31337';
12 $client = fsockopen($hostname, $port);
16 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n";
17 $address = $hostname . ':' . $port;
30 Calling fsockopen() with address and port in same string, without a protocol:
/PHP-5.3/ext/openssl/tests/
H A Dbug46127.phpt12 function ssl_server($port) {
21 …$sock = stream_socket_server('ssl://127.0.0.1:'.$port, $errno, $errstr, STREAM_SERVER_BIND | STREA…
38 $port = rand(15000, 32000);
42 ssl_server($port);
48 $sock = fsockopen('ssl://127.0.0.1', $port, $errno, $errstr);
H A Dbug48182.phpt12 function ssl_server($port) {
13 $host = 'ssl://127.0.0.1'.':'.$port;
46 function ssl_async_client($port) {
47 $host = 'ssl://127.0.0.1'.':'.$port;
74 $port = rand(15000, 32000);
78 ssl_server($port);
84 ssl_async_client($port);
/PHP-5.3/ext/soap/tests/bugs/
H A Dbug50698_2.wsdl211 </wsdl:port>
222 </wsdl:port>
233 </wsdl:port>
244 </wsdl:port>
255 </wsdl:port>
266 </wsdl:port>
277 </wsdl:port>
288 </wsdl:port>
299 </wsdl:port>
310 </wsdl:port>
[all …]
/PHP-5.3/ext/ldap/tests/
H A Dldap_connect_variation.phpt12 // no hostname, no port
16 // no port
21 $link = ldap_connect("ldap://$host:$port");
24 // URI no port

Completed in 42 milliseconds

12345678910>>...21