HTTP authentication with PHP and Microsoft IIS
I'm trying implement a single sign on authentication system in PHP for an Intranet. I'm checking for the existence of the $_SERVER['REMOTE_USER'] variable, and PHP is populating the variable correctly (SSF\c890rbr in this case). I also want to use this variable to filter my recordset and then populate some form fields from a database. This is not working as expected. Please look at it. I'm attaching my sample form and database.