PHP LDAP Authentication - Pound Symbel -
i using adldap.php authenticate users against ad server.
users £ (pound symbols) in passwords cannot authenticated.
any £s in php vars converted "\xc2\xa3" £s in post/get vars converted "\xa3".
is php/apache charset issue?
the solution:
$password = mb_convert_encoding($_post["password"], "utf-8");
Comments
Post a Comment