andyt_2000_uk.TakeThisOut@yahoo.co.uk wrote:
> Unfortunately i still get the same errors of not being able to bind to
> AD.
Try changing:
die("Couldn't bind to AD!");
to:
die("Couldn't bind to AD: " . ldap_error($ad));
As it is, you're suppressing all the useful information that might help
you solve the problem.
-- David
>> Stay informed about: PHP and Active Directory