mkdir()
-
boolean mkdir(string attribute, string value [, string dn])
Example:
$ldap = new LDAP();
$ldap->cd("ou=people, dc=ypass, dc=net");
$ldap->mkdir("cn", "Eric");
/* Now i have a directory with the path:
cn=Eric, ou=people, dc=ypass, dc=net
Remember that the words directory, entry, and DN are used interchangably
when dealing with this class.
*/