[snip] I would like to piggyback on an Apache realm/dialog authentication and feed these credentials to a mysql connection (or connection to anything else) in my php scripts.
Is there a way using the php Apache apis (seems like no) or via apache itself to make these credentials available/visible to a php script? I'm not sure if this presents a security risk as I trust the pages in my web server to not be malevolent. [/snip] Should be $PHP_AUTH_USER and $PHP_AUTH_PW, see http://us4.php.net/features.http-auth Funny how the manual works for these things! ;) Have a pleasant and productive day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php