Hello all...i need some help connection to a ldaps server...i am using the ldap_connect function with 2 parameters,the first one is a string with the host and the second one is a variable with a number ,the port number.here is the code,the data for connection is correct of course i get the message i display,but how can i know whats realy the problem?to get the exact error?
$host = "ldaps://******.com";
$port = 1793;
$c = ldap_connect($host,$port);
if (!$c) {
echo 'Error';
}