_loglevel) { $output = '[DEBUG] '; break; case ADI_LOG_INFO: $output .= 'info">[INFO] '; break; case ADI_LOG_NOTICE: $output .= 'NOTICE">[NOTICE] '; break; case ADI_LOG_WARN: $output .= 'warn">[WARN] '; break; case ADI_LOG_ERROR: $output .= 'error">[ERROR] '; break; case ADI_LOG_FATAL: $output .= 'fatal">[FATAL] '; break; default: $output .= 'debug'; } $output .= str_replace("\n","\n ",$info).'
'; echo $output; } } } define('ADINTEGRATION_DEBUG', true); if (class_exists('ADIntegrationPlugin')) { $ADI = new TestADIntegrationPlugin(); } else { die('Plugin missing.'); } $ADI->setLogLevel(ADI_LOG_DEBUG); ?> ADI Test

AD Integration Logon Test

authenticate(NULL, $_GET['user'], $_GET['password']); ?>