Struggling to find how to create the correct header to create an authenticated http 1.0 connection with a proxy server.
Help appreciated :-|
do you mean using this: ?
Header('WWW-Authenticate: Basic real="My protect area"'); Header('HTTP/1.0 401 Unauthorized');
this will popup the login screen, just like the .htaccess one.
What it worked form me is:
Header('Proxy-Authoritation: Basic ".base64encode("user:pass")." ');
Bye