New PHP Feature
| From: | Werner Stiglbauer | Date: | Wed, 22 Aug 2001 06:55:07 +0000 |
| Subject: | New PHP Feature | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64011@lists.php.net to get a copy of this message | ||
Reply to message from Goba [one webmaster@php.net]
As attachement i send u my ready code for the new PHP feature.
I extented the internal php ldap_search function by one parameter, so that
the fifth parameter is now the name of the sort attribute.The result of the ldap_search should now
be
sorted by this attribute.
All changes are included in the
-> static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
function.
I marked all my changes with a " /* Code changed here */ " phrase in order to find the
extensions.
If u would like to use this change in your next php distribution, i would be glad about it. Also
feel
free to take this as a base for your own extension.
Thanks in advance
Werner Stiglbauer
Attachment: [application/octet-stream] ldap.c
Attachment: [application/octet-stream] ldap.c