ID: 13795 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: LDAP related Operating System: Windows NT 4.0 Server PHP Version: 4.0.6 New Comment:
There is nothing wrong with PHP's ldap. You're just doing something wrong. :) Now, first thing is to check if the ldap server is using ldap v3. And you have to make sure that you query in ldap v3 mode. With this line you should be able to enable v3: ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3) --Jani Previous Comments: ------------------------------------------------------------------------ [2001-10-23 03:41:50] [EMAIL PROTECTED] What I wanted to do: I wrote a script that connects to a Microsoft Exchange Server using the LDAP support of PHP. To do so I used the Example provided with the PHP manual (chapter XLIII). The values the Exchange Server returns are put into tables and are displayed by a browser. What I expected the script to do: I expected the script to return the values as set in Exchange but the values returned do not contain special german characters. They are being replaced. I searched for an solution everywhere but there seems to be none. I also found some people who have the same problems with PHP´s LDAP support. This seems to be a general problem with the german character set. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13795&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]