I try to add user by using php. ldap_add($ds, "cn=$username, c=$country, dc=graduate, dc=com" , $info); because I want to receive data from my html page. it doesn't work when I try to add more than one variable. But when I try ldap_add($ds, "cn=$username, dc=graduate, dc=com" , $info); or ldap_add($ds, "cn=$username, c=US, dc=graduate, dc=com", $info); it is work. Why? Do you have any solution for this problem thank you sayumporn _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General 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]