<? require("auth.httpAuth.php"); $test = new httpAuth($_SERVER['PHP_AUTH_USER'],$_SERVER['PHP_AUTH_PW'],"text","./password.csv"); if($test->login() == true) { echo "Success!"; } else { echo "Failure!"; } ?>