http authorization
Moderator: General Moderators
http authorization
I have a PHP page, that will be hitting a cgi on another server. This cgi needs http authorization. I know the username and password, and want to do the log in without the user knowing, and without the user being able to see the username and password. The users browser will need to connect directly to the cgi, so I cant use curl. Is there a way I can pre-set the "Authorization: Basic blahblahblah==" on the users browser, so when they hit the cgi they'll already be logged in?