September 2001
Intermediate to advanced
768 pages
32h 45m
English
array ldap_get_attributes(resource connectionID, int result)
Makes an array of an entry.
Returns:
Multidimensional associative array of all attributes; FALSE on error
Description:
ldap_get_attributes() is a quick way to extract all the attribute information for an entry and store that information in a multidimensional array. Multiple calls to the array elements can then be performed to extract the relevant information. The multidimensional array is constructed in the following manner:
| Element | Description |
|---|---|
| $return_attr["count "] | Number of attributes |
| $return_attr[n ] | Attribute number |
| $return_attr[n ]["count "] | Number of values for the attribute |
| $return_attr[n ][x ] | Value number of the attribute |
Availability:
UNIX/Linux, Windows ...
Read now
Unlock full access