I solved my problem, scroll down to see the final result.
this is what i have written so far:
$host = 'localhost';
$uri = '/auto/response.xml';
$request_data = '<some><xml>data</xml></some>';
$header = "Host: $host\\r\\n";
$header .= "User-Agent: PHP Script\\r\\n";
$header .= "Content-Type: text/xml\\r\\n";
$header .= "Content-Length: ".strlen($request_data)."\\r\\n";
$header .= "Connection: close";
$fp = fsockopen("ssl://".$host, 443, $errno, $errstr, 30);
if (!$fp) {
echo "Error $errno: $errstr";
exit();
}
fwrite($fp,$header);
$reply = fgets($fp);
fclose($fp);
print_r($reply);
Number 1: It connects correctly and gets something back from the server.
Number 2: That something is nothing where it should be the auto/response.xml file.
Number 3: How do I send the request data?
OOOHHH I greatly appreciate you taking the time to look at my post...and LOVE you if you can reply!!!!