Re: LDAP V3 Server Side Sorting

From: Date: Wed, 16 May 2001 01:39:34 +0000
Subject: Re: LDAP V3 Server Side Sorting
Groups: php.dev 
Request: Send a blank email to php-dev+get-55407@lists.php.net to get a copy of this message
Sorry about that. I'm new to contributing code. Here is a diff of the changes. Maybe a URL would save some bandwidth too: http://www.giffin.org/~david/ldap.diff Thanks, David On Tue, 15 May 2001, Sterling Hughes wrote: > David Giffin wrote: > > > 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 > > > > > > > If you want your function added, the first thing you need to do is send > a diff, instead of the entire file itself. > > -Sterling > >

« previous php.dev (#55407) next »