Scott Fletcher wrote: If the 's' in the HTTPs in the subject is indicating that you are trying to do this with an SSL server via the 'https' protocol, you are on the wrong track...
You see, before you send all those headers to the SSL server, you'd have to first talk back and forth and negotiate a series of encryption keys. Then you'd have to encrypt each header you send with one of the keys, and decrypt what comes back with one of the other keys. Fortunately, there's a module to take care of all this crap for you, cuz it would be a MAJOR headache to do all that. http://php.net/curl > But the truth is it doesn't do anything. It *must* be doing something, even if it's not doing what you want :-) > -- demo script -- > $eq_one = "10xxx"; > $eq_two = "test"; > $eq_three = "DIAL999Z IDNT 99xxxM3 J02"; > $post_string_len = > strlen("site_id=".$eq_one."&service_name=".$eq_two."&efx_request=".$eq_three > ); > > header("POST eq_test.php HTTP/1.1"); > header("Content-Transfer-Encoding: base64"); > header("Content-Location: > http://transport5.ec.equifax.com/servlet/stspost"); > header("Authorization: basic 10xxx:trwdwdxxxxxx"); > // header("Content-type: application/x-www-form-urlencoded"); > header("Content-length: $post_string_len"); > header("site_id=$eq_one&service_name=$eq_two&efx_request=$eq_three"); Like instead of using the header function, you should use http://php.net/fsockopen and then fputs and fgets to hold a conversation with the nice computer. You'll say, like, fputs($socket, "POST eq_test.php HTTP/1.1"); and the computer will be, like, answering so you'll do fgets($socket, 1000000) to "listen" to what it had to say. Disclaimer: I've never actually done this for HTTP, since Rasmus' posttohost function takes care of all that crap for me... Search the net for "posttohost and Rasmus" and you'll have it. > > echo "<html><head>"; > echo "<meta http-equiv='Content-Type' > content='application/x-www-form-urlencoded'>"; > echo "</head><body>Testing!</body></html>"; -- Like music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]