I would like PHP to dynamically create a request header that contains a user's credentials, then submit that header to a system that uses basic authentication. My company has several different database-driven systems that each have the same users and I'm trying to tie them all together with one central credentials processor. For example, a best-case scenario would be:
User logs in to PHP-based system -> user clicks on link to go to Domino Lotus Notes system -> PHP inserts username and password already supplied into request header & sends to Domino system -> Domino system accepts incoming request header as having correct credentials (just as though the
user had entered them in the basic password form) -> user enters Domino system seamlessly (eg doesn't have to reenter credentials)
Any help here would be GREATLY appreciated - I've been trying to figure this out for a long while.
Thanks!!
keywords: http request header php basic authentication header() automatic