ConFoo Montreal 2026: Call for Papers

Voting

: one minus one?
(Example: nine)

The Note You're Voting On

giodev at panozzo dot it
5 years ago
An bettter method to create the unicodePwd Active Directory LDAP field from PHP is:

$unicodePwd = iconv("UTF-8", "UTF-16LE", "\"".$password."\"");

It works when $password is coming from a UTF-8 page. If your $password is not utf-8, change the 1st parameter of iconv.

<< Back to user notes page

To Top