Home
last modified time | relevance | path

Searched refs:link (Results 301 – 325 of 757) sorted by relevance

1...<<11121314151617181920>>...31

/PHP-5.5/ext/mssql/
H A Dphp_mssql.c669 dbclose(mssql.link); in php_mssql_do_connect()
679 dbclose(mssql.link); in php_mssql_do_connect()
696 dbclose(mssql.link); in php_mssql_do_connect()
707 dbclose(mssql.link); in php_mssql_do_connect()
764 int type,link; in php_mssql_do_connect() local
803 dbclose(mssql.link); in php_mssql_do_connect()
813 dbclose(mssql.link); in php_mssql_do_connect()
1281 dbclrbuf(mssql_ptr->link,DBLASTROW(mssql_ptr->link));
1928 dbclrbuf(mssql_ptr->link,DBLASTROW(mssql_ptr->link));
2222 dbcanquery(statement->link->link);
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dlstat_stat_variation14.phpt12 Description: Gives information about a file or symbolic link
18 /* test the effects of is_link() on stats of hard link */
24 /* create temp file & link */
29 echo "*** Checking lstat() and stat() on hard link ***\n";
31 //ensure that link doesn't exists
34 // create the link
35 var_dump( link($filename, $linkname) );
56 *** Checking lstat() and stat() on hard link ***
H A Dreadlink_realpath_variation1.phpt12 Description: Returns the target of a symbolic link
21 mkdir("$name_prefix/readlink_realpath_variation1/home/tests/link/", 0777, true);
31 function object_temp($link) {
32 $this->linkname = $link;
47 // deleting the link
53 var_dump( link($filename, $obj1->linkname) );
56 var_dump( link($filename, $obj2->linkname) );
69 unlink("$name_prefix/home/tests/link/readlink_realpath_variation1.tmp");
70 rmdir("$name_prefix/home/tests/link/");
82 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
[all …]
H A Dsymlink_link_linkinfo_is_link_variation6.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & dir perms.
28 /* Prototype: bool symlink ( string $target, string $link );
29 Description: creates a symbolic link to the existing target with the specified name link
32 Description: Tells whether the given file is a symbolic link.
34 Prototype: bool link ( string $target, string $link );
35 Description: Create a hard link
38 Description: Gets information about a link
57 var_dump( symlink($filename, $linkname) ); // this link won't get created
65 var_dump( link($filename, $linkname) );
101 Warning: link(): Permission denied in %s on line %d
/PHP-5.5/ext/mysql/tests/
H A Dmysql_stat.phpt14 $link = NULL;
16 if (!is_null($tmp = @mysql_stat($link)))
21 if (!is_null($tmp = @mysql_stat($link, "foo")))
24 if ((!is_string($stat = mysql_stat($link))) || ('' === $stat))
26 gettype($stat), $stat, mysql_errno($link), mysql_error($link));
39 mysql_close($link);
41 if (false !== ($tmp = mysql_stat($link)))
H A Dmysql_fetch_assoc.phpt13 $link = NULL;
20 if (NULL !== ($tmp = @mysql_fetch_assoc($link)))
24 if (!$res = mysql_query("SELECT id, label FROM test ORDER BY id LIMIT 1", $link)) {
25 printf("[004] [%d] %s\n", mysql_errno($link), mysql_error($link));
36 if (!$res = mysql_query("SELECT 1 AS a, 2 AS a, 3 AS c, 4 AS C, NULL AS d, true AS e", $link)) {
37 printf("[007] Cannot run query, [%d] %s\n", mysql_errno($link), $mysql_error($link));
47 mysql_close($link);
50 …AS _id, CONCAT(label, 'a') _label, NULL as _foo FROM test _test ORDER BY id ASC LIMIT 1", $link)) {
51 printf("[009] [%d] %s\n", mysql_errno($link), $mysql_error($link));
57 mysql_close($link);
H A Dmysql_list_tables.phpt13 $link = NULL;
32 if (!$res = @mysql_list_tables($db, $link))
33 printf("[006] [%d] %s\n", mysql_errno($link), mysql_error($link));
35 if (!$res_query = mysql_query("SHOW TABLES", $link))
36 printf("[007] [%d] %s\n", mysql_errno($link), mysql_error($link));
53 printf("[008] Got different table lists for default link and specified link\n");
76 mysql_close($link);
H A Dmysql_thread_id.phpt13 $link = NULL;
15 if (!is_null($tmp = @mysql_thread_id($link)))
20 if (!is_int($id = mysql_thread_id($link)) || (0 === $id))
22 gettype($id), $id, mysql_errno($link), mysql_error($link));
30 mysql_close($link);
32 if (false !== ($tmp = mysql_thread_id($link)))
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt11 if (mysqli_get_server_version($link) < 50003)
37 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
47 if (!mysqli_query($link, "DROP TABLE IF EXISTS test") ||
48 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id BIGINT, bit_value BIT(%d) NOT NULL, bit_…
49 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
78 if (!mysqli_query($link, $sql))
79 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
82 if (!$res = mysqli_query($link, $sql))
83 printf("[004 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
86 printf("[005 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt16 if (!$stmt = mysqli_stmt_init($link))
17 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
19 if (!mysqli_query($link, "DROP TABLE IF EXISTS test"))
20 printf("[002] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
22 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT, label LONGBLOB…
23 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
33 if (!$res = mysqli_query($link, "SHOW VARIABLES LIKE 'max_allowed_packet'"))
34 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
37 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
94 mysqli_close($link);
H A Dmysqli_stmt_multires.phpt17 $stmt = mysqli_stmt_init($link);
18 if (!$link->query('DROP PROCEDURE IF EXISTS p123')) {
19 printf("[001] [%d] %s\n", $link->error, $link->errno);
22 …if (!$link->query("CREATE PROCEDURE p123() BEGIN SELECT id+12, CONCAT_WS('-',label,'ahoi') FROM te…
23 printf("[002] [%d] %s\n", $link->error, $link->errno);
26 if (!($stmt = $link->prepare("CALL p123"))) {
90 $link->close();
98 if (!$link->query('DROP PROCEDURE IF EXISTS p123')) {
99 printf("[001] [%d] %s\n", $link->error, $link->errno);
H A Dmysqli_stmt_bind_param_references.phpt19 $offset, $sql, mysqli_errno($link), mysqli_error($link));
24 $offset, $sql, mysqli_errno($link), mysqli_error($link));
47 if (!mysqli_query($link, $sql)) {
49 $offset, $sql, mysqli_errno($link), mysqli_error($link));
58 $stmt = mysqli_stmt_init($link);
70 findRow(4, $link, $id, $label);
80 findRow(7, $link, $id, $label_ref);
120 findRow(17, $link, $id, $label);
131 findRow(20, $link, $id, $label);
196 findRow(35, $link, $id, $label);
[all …]
H A Dmysqli_query_iterators.phpt14 $link = NULL;
19 if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id")))
20 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
35 if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_USE_RESULT)))
36 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
49 if (!is_object($res = mysqli_query($link, "SELECT id FROM test ORDER BY id", MYSQLI_STORE_RESULT)))
50 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
62 mysqli_close($link);
H A Dmysqli_data_seek.phpt14 $link = NULL;
19 if (NULL !== ($tmp = @mysqli_data_seek($link)))
22 if (NULL !== ($tmp = @mysqli_data_seek($link, $link)))
26 if (!$res = mysqli_query($link, 'SELECT * FROM test ORDER BY id LIMIT 4', MYSQLI_STORE_RESULT))
27 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
51 if (!$res = mysqli_query($link, 'SELECT * FROM test ORDER BY id', MYSQLI_USE_RESULT))
52 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
62 mysqli_close($link);
H A Dbug54674.phpt17 $link = mysqli_init();
18 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) {
23 $link->set_charset('sjis');
24 var_dump($link->real_escape_string($japanese_so) === $japanese_so);
25 mysqli_close($link);
H A Dmysqli_get_client_stats.phpt559 mysqli_errno($link), mysqli_error($link));
567 mysqli_errno($link), mysqli_error($link));
588 mysqli_errno($link), mysqli_error($link));
592 mysqli_errno($link), mysqli_error($link));
604 mysqli_errno($link), mysqli_error($link));
616 mysqli_errno($link), mysqli_error($link));
633 mysqli_errno($link), mysqli_error($link));
642 mysqli_errno($link), mysqli_error($link));
655 mysqli_errno($link), mysqli_error($link));
659 mysqli_errno($link), mysqli_error($link));
[all …]
/PHP-5.5/ext/ldap/tests/
H A Dldap_free_result_basic.phpt13 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
14 insert_dummy_data($link);
15 $result = ldap_search($link, "dc=my-domain,dc=com", "(objectclass=person)");
23 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
24 remove_dummy_data($link);
H A Dldap_search_variation1.phpt16 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
17 insert_dummy_data($link);
22 $result = ldap_search($link, "dc=my-domain,dc=com", "(dc=*)", array('dc')),
23 ldap_get_entries($link, $result)
31 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
32 remove_dummy_data($link);
H A Dldap_get_entries_basic.phpt13 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
14 insert_dummy_data($link);
18 $link,
19 ldap_search($link, "dc=my-domain,dc=com", "(o=my-domain)")
28 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
29 remove_dummy_data($link);
H A Dldap_modify_batch_error.phpt13 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
25 var_dump(ldap_modify_batch($link));
26 var_dump(ldap_modify_batch($link, "dc=my-domain,dc=com"));
29 var_dump(ldap_modify_batch($link, "dc=my-domain,dc=com", $addGivenName, "Invalid additional paramet…
32 var_dump(ldap_modify_batch($link, "dc=my-domain,dc=com", $addGivenName));
35 var_dump(ldap_modify_batch($link, "weirdAttribute=val", $addGivenName));
47 ldap_add($link, "dc=my-domain,dc=com", $entry);
58 var_dump(ldap_modify_batch($link, "dc=my-domain,dc=com", $mods));
69 var_dump(ldap_modify_batch($link, "dc=my-domain,dc=com", $mods));
76 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
[all …]
H A Dldap_sasl_bind_basic.phpt11 $link = fsockopen($host, $port);
12 if (!$link) {
20 $link = ldap_connect($host, $port);
21 ldap_set_option($link, LDAP_OPT_PROTOCOL_VERSION, $protocol_version);
22 var_dump(ldap_sasl_bind($link, null, $passwd, 'DIGEST-MD5', 'realm', $sasl_user));
H A Dldap_modify_basic.phpt13 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
14 insert_dummy_data($link);
27 ldap_modify($link, "dc=my-domain,dc=com", $entry),
29 $link,
30 ldap_search($link, "dc=my-domain,dc=com", "(Description=Domain description)")
39 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
41 remove_dummy_data($link);
H A Dldap_read_basic.phpt16 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
17 insert_dummy_data($link);
19 $result = ldap_read($link, "dc=my-domain,dc=com", "(dc=*)"),
20 ldap_get_entries($link, $result)
28 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
29 remove_dummy_data($link);
H A Dldap_search_variation4.phpt16 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
17 insert_dummy_data($link);
22 $result = ldap_search($link, $dn, $filter, array('sn'), 1, 1, 3),
23 ldap_get_entries($link, $result)
31 $link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
32 remove_dummy_data($link);
/PHP-5.5/ext/session/tests/
H A D014.phpt21 <a href="/link">
25 <a href="/link">
29 <a href="/link">
34 <a href="/link">
37 <a href="/link">
40 <a href="/link">

Completed in 94 milliseconds

1...<<11121314151617181920>>...31