September 2001
Intermediate to advanced
768 pages
32h 45m
English
string ldap_next_entry(resource connectionID, int result)
| connectionID | Connection ID |
| result | Entry ID |
Fetches the next entry.
Returns:
Next entry ID string; FALSE on failure
Description:
Advances to the next entry using the entry ID assigned from ldap_first_entry(). FALSE is returned if there are no more entries to return.
Availability:
UNIX/Linux, Windows
Version:
3+, 4+
Example:
$result = ldap_search($ldap_conn, "dc=foo,dc=com", $filter);
$entry = ldap_first_entry($ldap_conn, $result);
while ($entry) {
$dn = ldap_dn2ufn(ldap_get_dn($ldap_conn, $entry));
echo "DN is $dn\n";
$entry = ldap_next_entry($ldap_connection, $entry);
}
|
Read now
Unlock full access