Date: 11/16/01
- Next message: Christopher William Wesley: "Re: [PHP] Question on variable variables"
- Previous message: Jobarr: "[PHP] Apache 2.0.28"
- Next in thread: Stig Venaas: "[PHP] Re: [PHP-DEV] ldap_search sort extension, patch included"
- Reply: Stig Venaas: "[PHP] Re: [PHP-DEV] ldap_search sort extension, patch included"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all,
This patch enhances PHP4's ldap_search with a call to
ldap_sort_entries().
int ldap_search (int link_identifier, string base_dn, string filter
[, array attributes [, int attrsonly [, int sizelimit [, int timelimit
[, int deref [, ***string sort***]]]]]])
9th parameter: sort
Sort the entries returned based on attribute. Attribute is a single
("cn") or a list ("cn, mail") of Attributes.
Patch can be found on:
http://www.nrg4u.com
Apply this to php4.0.6/ext/ldap/ldap.c and recompile.
-- Andre-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Christopher William Wesley: "Re: [PHP] Question on variable variables"
- Previous message: Jobarr: "[PHP] Apache 2.0.28"
- Next in thread: Stig Venaas: "[PHP] Re: [PHP-DEV] ldap_search sort extension, patch included"
- Reply: Stig Venaas: "[PHP] Re: [PHP-DEV] ldap_search sort extension, patch included"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

