Date: 05/15/01
- Next message: Sterling Hughes: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Previous message: Jon Parise: "Re: [PHP-DEV] disktotalspace()"
- Next in thread: Sterling Hughes: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Reply: Sterling Hughes: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Maybe reply: David Giffin: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I added in a function to provide server side sorting on searches. This is
a LDAP version 3 specific function, and uses the Netscape API so I have
ifdef'ed the new function. It adds a "sortstr" attriubte to the
ldap_search() function that already exists in php. There might be a better
way to incorporate the code into php, but here is my first attempt.
proto int ldap_sort_search(int link, string base_dn, string filter
[, array attrs [, string sortstr [, int attrsonly [, int sizelimit
[, int timelimit [, int deref]]]]])
Thanks,
David Giffin
- TEXT/PLAIN attachment: ldap.c
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sterling Hughes: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Previous message: Jon Parise: "Re: [PHP-DEV] disktotalspace()"
- Next in thread: Sterling Hughes: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Reply: Sterling Hughes: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Maybe reply: David Giffin: "Re: [PHP-DEV] LDAP V3 Server Side Sorting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

