[PHP] ldap_search sort extension, patch included From: Andre Oppermann (oppermann <email protected>)
Date: 11/16/01

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>