From: Hannan, S. R. \(HSC\) <Sco...@ou...> - 2005-01-18 17:29:40
|
It took a lot of poking around, and a couple of very minor tweaks to the phpESP code, but I have authentication working great in phpESP under Windows 2003 using IIS 6 with PHP 5 (running with compatibility for 4) and MySQL 4.1 =20 In manage.php under the admin directory, I have this: =20 if($ESPCONFIG['auth_design']) { if(!manage_auth( _addslashes(@$_SERVER['PHP_AUTH_USER']), _addslashes(@$_SERVER['PHP_AUTH_PW']))) =20 =20 I have only anonymous authentication turned on... every other auth method is off (Basic, NT, etc) =20 I believe I also added 'addslashes' in a lib include somewhere that passes the username and password into the database, but that is only because I had a password that had a slash in it and it wasn't working. Scott R. Hannan =20 |