I was wondering how you could POST login data that has been taken by either a login form or the login box that pops up when you try to pull up a directory that requires authentication.
I currently have a script set up to do HTTP authentication via PHP and then take the PHP_AUTH_USER and PHP_AUTH_PW authenticate them via MySQL DB.
The problem I face is being able to take a different login that is embedded in the script (re-evaluates $SERVER['PHP_AUTH_USER'] and $SERVER['PHP_AUTH_PW'] and then pass the new data to a different folder.
Essentially, pull up the login.php page...enter your username and password and then that script should check it, and if it's valid reset the auth vars and pass them to a different folder.
The different folder has been setup via Mac OS X Server as a realm. We did it this way because we didn't see any need to make a page displaying all of the pages...just give a directory listing.
If any of what you read makes sense and you have some thoughts please let me know.
Also, I can get it to send the data like this: http://USERNAMEASSWORD@hostname.com/folder1/ except that reveals the embedded username and password combination. That method is also depreciated in IE 6.
Thanks,
Aaron