I use:

$fp = fsockopen("www.somewhere.com",80); 
fputs($fp, "GET http://www.somewhere.com/somedir/somepage.html
HTTP/1.0\r\n\r\n");

to parse.  Should be easily modified....

____________________________ 
Matthew Luchak 
Webmaster
Kaydara Inc. 
[EMAIL PROTECTED]


-----Original Message-----
From: Michael Conley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 12:37 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] fsockopen question



How do I send the XML string to the above URL?  When I use fsockopen, it
doesn't like anything other than an IP address or a host name (ie
www.myprovider.com).  I don't even really see where to force this to go
over
HTTPS.  I set the port to 443, but need to be sure that the data going
across uses SSL.

How do I send this XML string over HTTPS to
https://www.myprovider.com/XMLSubmit/processtrans.asp?


--
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]

Reply via email to