1. 猴子技术宅首页
  2. php干货教程

ldap_explode_dn Splits DN into its component parts php函数分享


ldap_explode_dn

(PHP 4, PHP 5)

ldap_explode_dnSplits DN into its component parts

说明

array ldap_explode_dn ( string $dn , int $with_attrib )

Splits the DN returned by ldap_get_dn() and breaks it up into its component parts. Each part is known as Relative Distinguished Name, or RDN.

参数

dn

The distinguished name of an LDAP entity.

with_attrib

Used to request if the RDNs are returned with only values or their attributes as well. To get RDNs with the attributes (i.e. in attribute=value format) set with_attrib to 0 and to get only values set it to 1.

返回值

Returns an array of all DN components. The first element in this array has count key and represents the number of returned values, next elements are numerically indexed DN components.

—-想了解更多的php相关异常处理怎么解决关注<猴子技术宅>



本文来自网络收集,不代表猴子技术宅立场,如涉及侵权请点击右边联系管理员删除。

如若转载,请注明出处:https://www.ssfiction.com/archives/86124

发表评论

电子邮件地址不会被公开。 必填项已用*标注

评论列表(0条)

  • 函数分享
    函数分享 2020年9月17日 上午12:08

    ldap_explode_dn Splits DN into its component parts php函数分享