http authorization

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mcurry
Forum Newbie
Posts: 12
Joined: Tue Jan 21, 2003 3:41 pm

http authorization

Post by mcurry »

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?
Post Reply