Hi,
I am using LDAP authenication . If i give correct username password it works great. But if i give wrong username or password it gives the following warning in the page . how to aviod this?
phpMyFAQ warning [2]: ldap_bind() [function.ldap-bind]: Unable to bind to server: Invalid credentials in Ldap.php on line 115
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newfaq\inc\functions.php:153) in header.php on line 31
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newfaq\inc\functions.php:153) in header.php on line 32
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newfaq\inc\functions.php:153) in header.php on line 33
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newfaq\inc\functions.php:153) in header.php on line 34
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newfaq\inc\functions.php:153) in header.php on line 35
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newfaq\inc\functions.php:153) in header.php on line 36
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\newfaq\inc\functions.php:153) in header.php on line 37
Error page when wrong password
Moderator: Thorsten
Re: Error page when wrong password
Hi,
this is a stupid behaviour of the PHP function ldap_bind(). I'll work on a better error handling for this.
bye
Thorsten
this is a stupid behaviour of the PHP function ldap_bind(). I'll work on a better error handling for this.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist