ldap_set_option()
设置LDAP连接或操作的选项
函数名:ldap_set_option() 描述:该函数用于设置LDAP连接或操作的选项。 用法:ldap_set_option(resource $link_identifier, int $option, mixed $value) : bool 参数: $link_…
收录 8868 个 PHP 函数,含用途说明与用法示例。
本地收录 8868 条,找到 8868 条记录
设置LDAP连接或操作的选项
函数名:ldap_set_option() 描述:该函数用于设置LDAP连接或操作的选项。 用法:ldap_set_option(resource $link_identifier, int $option, mixed $value) : bool 参数: $link_…
在指定的LDAP目录中执行搜索操作
函数名:ldap_search() 适用版本:PHP 4, PHP 5, PHP 7 用法:ldap_search(resource $ldap, string $base_dn, string $filter, array $attributes = [], int $at…
绑定到LDAP服务器并使用SASL进行身份验证
函数名:ldap_sasl_bind() 适用版本:PHP 5 >= 5.1.0, PHP 7, PHP 8 用法: ldap_sasl_bind(resource $ldap, ?string $binddn = null, ?string $password = null…
重命名或移动一个入口(条目)在目录服务器中
函数名称:ldap_rename() 适用版本:PHP 4, PHP 5, PHP 7 用法:ldap_rename(resource $link_identifier, string $dn, string $newrdn, string $newparent, bool …
在LDAP目录中搜索条目
函数名:ldap_read() 适用版本:PHP 4, PHP 5, PHP 7 用法:ldap_read() 函数用于在LDAP目录中搜索条目。它执行指定的搜索,并返回所有匹配条目的结果标识符。 语法:ldap_read ( resource $ldap_conn , s…
解析由 ldap_search() 或 ldap_list() 返回的结果
函数名称:ldap_parse_result() 适用版本:PHP 4 >= 4.0.2, PHP 5, PHP 7 用法:ldap_parse_result(resource $link, resource $result, int &$errcode [, string …
解析LDAP引用消息的结果
函数名称:ldap_parse_reference() 适用版本:PHP 4, PHP 5, PHP 7 函数描述:该函数用于解析LDAP引用消息的结果。 用法: bool ldap_parse_reference ( resource $link_identifier …
解析扩展操作(extended operation)的结果
函数: ldap_parse_exop() 适用版本: PHP 5, PHP 7 用法: ldap_parse_exop(resource $link_identifier, resource $result, string &$retdata, string &$retoi…
获取下一个引用结果项
函数名:ldap_next_reference() 适用版本:PHP 4 >= 4.0.5, PHP 5, PHP 7 用法:ldap_next_reference() 函数用于获取下一个引用结果项。当在搜索操作中返回引用时,可以使用该函数来遍历引用链。 语法:bool l…
获取结果集中的下一个条目
函数名:ldap_next_entry() 适用版本:PHP 4 >= 4.0.2, PHP 5, PHP 7 用法:ldap_next_entry(resource $ldap, resource $result_entry_identifier): resource|fa…
获取搜索结果集中下一个条目的下一个属性名
函数名:ldap_next_attribute() 适用版本:PHP 4, PHP 5, PHP 7 函数描述:ldap_next_attribute() 函数用于获取搜索结果集中下一个条目的下一个属性名。 用法: ldap_next_attribute(resource …
修改LDAP目录中的条目的属性值
函数名称:ldap_mod_replace_ext() 适用版本:PHP 7.3.0及以上版本 函数描述:ldap_mod_replace_ext()函数用于修改LDAP目录中的条目的属性值。该函数提供了更高级的功能,允许您指定额外的选项和控制修改操作的方式。 语法:lda…
替换指定条目的属性值
函数名:ldap_mod_replace() 适用版本:PHP 4, PHP 5, PHP 7 用法:ldap_mod_replace() 函数用于替换指定条目的属性值。它将替换已有的属性值,或者在属性不存在时创建新的属性。 语法:ldap_mod_replace(reso…
执行一个或多个属性的删除操作
函数名:ldap_mod_del_ext() 适用版本:PHP 5 >= 5.4.0, PHP 7 用法:ldap_mod_del_ext() 函数用于执行一个或多个属性的删除操作。 语法:bool ldap_mod_del_ext(resource $link_ident…
从目录服务器中删除现有的属性值
函数名:ldap_mod_del() 适用版本:PHP 4, PHP 5, PHP 7 函数描述:ldap_mod_del() 函数用于从目录服务器中删除现有的属性值。 用法: bool ldap_mod_del ( resource $link_identifier , …
将指定的属性值添加到现有条目的属性中
函数:ldap_mod_add_ext() 适用版本:PHP 7.1.0 及以上版本 用法:ldap_mod_add_ext() 函数用于将指定的属性值添加到现有条目的属性中。此函数是扩展版的ldap_mod_add()函数,它允许您在操作中指定更多的选项。 语法:ldap…
向指定的LDAP目录项中添加一个或多个属性
函数名:ldap_mod_add() 适用版本:PHP 4, PHP 5, PHP 7 用法:ldap_mod_add() 函数用于向指定的LDAP目录项中添加一个或多个属性。 语法:bool ldap_mod_add(resource $link_identifier, …
批量修改 LDAP 目录中的条目
函数名:ldap_modify_batch() 适用版本:LDAP 扩展库的版本 >= 2.4.0 用法:ldap_modify_batch() 函数用于批量修改 LDAP 目录中的条目。该函数可以一次性执行多个修改操作,如添加、修改或删除属性等。 语法:bool ldap…
修改LDAP目录中的条目
函数名:ldap_modify() 适用版本:PHP 4, PHP 5, PHP 7 用法:ldap_modify()函数用于修改LDAP目录中的条目。它通过LDAP协议与LDAP服务器进行通信,将指定的修改应用于目标条目。 语法:bool ldap_modify ( re…
在LDAP目录中执行搜索操作,并返回匹配搜索条件的所有条目的结果集
函数名称:ldap_list() 适用版本:PHP 4, PHP 5, PHP 7 用法:ldap_list()函数用于在LDAP目录中执行搜索操作,并返回匹配搜索条件的所有条目的结果集。 语法:resource ldap_list ( resource $link_ide…
从一个或多个语言标记中查找最佳匹配的语言标记
函数:Locale::lookup() 适用版本:PHP 5 >= 5.3.0, PHP 7, PHP 8 用法:Locale::lookup() 函数用于从一个或多个语言标记中查找最佳匹配的语言标记。它可以帮助你根据用户的首选语言标记来选择合适的语言环境。 语法: pu…
获取给定区域设置的脚本
函数名称:Locale::getScript() 函数描述:Locale::getScript() 函数用于获取给定区域设置的脚本。 适用版本:PHP 5 >= 5.3.0, PHP 7 语法:public static string|null Locale::getScr…
获取给定语言环境的地区代码
函数名称:Locale::getRegion() 适用版本:PHP 5 >= 5.3.0, PHP 7 函数描述:Locale::getRegion() 函数用于获取给定语言环境的地区代码。 用法: string Locale::getRegion ( string $l…
获取给定区域设置的主要语言
函数名称:Locale::getPrimaryLanguage() 适用版本:PHP 5 >= 5.3.0, PHP 7 函数描述:Locale::getPrimaryLanguage() 函数用于获取给定区域设置的主要语言。 用法: string Locale::get…