September 2001
Intermediate to advanced
768 pages
32h 45m
English
string ldap_first_attribute(resource connectionID, int result, int memory_pointer)
| connectionID | Connection ID |
| result | Result ID |
| memory_pointer | Internal memory pointer |
Fetches the first attribute.
Returns:
First attribute; FALSE on error
Description:
Similar to ldap_first_entry() but on the next tier down the LDAP result set. ldap_first_attribute() returns the first attribute from an entry. With ldap_first_entry(), a result ID is passed to ldap_next_entry(). ldap_first_attribute() differs in that an internal memory pointer is passed from the function to ldap_next_attribute() by reference.
Availability:
UNIX/Linux, Windows
Version:
3+, 4+
Example:
$attr = ldap_first_attribute($ldapconn, $entry, ... |
Read now
Unlock full access