ldapadd in php not allow more than one variable

From: Date: Mon, 19 Feb 2001 11:01:41 +0000
Subject: ldapadd in php not allow more than one variable
Groups: php.general 
Request: Send a blank email to php-general+get-40554@lists.php.net to get a copy of this message
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.

« previous php.general (#40554) next »