I had discussed posting XML over HTTP using CURL in last post. Remember that was first method.
As I had promised on earlier post I would like to share second method with you. That is socket!!
Use this code and send your XML file.
1234567890
lgsoftwares
myapassword
phpmind.com
OGG
101009
';
$result = postXMLtoURL("www.yourdomain.com", "/path/",$xmlpacket);
$responseBody = getBody($result);
echo $responseBody;
?>