こんにちは田中です とりあえず関数の前に@をつけてはどうでしょうか? if ( @ldap_bind($link_id, "uid=$_POST['userid'],ou=People,dc=xxxx,dc=yyy", $_POST["passwd"]) ) { 田中