函数:ldap_explode_dn()


ldap_explode_dn

切开 dn 的字段。

语法: array ldap_explode_dn(string dn, int attrib);

返回值: 数组

函数种类: 网络系统

内容说明

本函数将 dn 中的各字段切开,切开后的每个字段即为 RDN (Relative Distinguished Name)。参数 dn 为欲切开的字符串。参数 attrib 若为 0 表示返回该栏的属性,若为 1 则表示返回该栏的值。返回值置于数组之中。



[ 上一页 PHP 手册 下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序