Hi,
/
$header = "Authorization: Basic ";
$header .= base64_encode("$username:$password") . "\r\n";
header("$header");
header("Location: https://servername/cgi-bin/filename?querystring");
/
I have been trying to execute the above code to connect to a https server by forcing in the username and password. But it shows the usual Authentication prompt. I need to execute this code at my local server-secureserver level and not from my browser. Can any one help me.
Thanks and regards
Deepesh