Posted by shotokan99 on 06/13/07 09:15
previously i did it this way:
<?php
$xml='<?xml
..
..
..
<enddoc>';
$dest='https://mydestination.com';
require_once 'http/request.php';
$req = &new HTTP_Request($dest);
$req->setMethod(HTTP_REQUEST_METHOD_POST);
$req->addRawPostData($xml);
$req->sendRequest();
echo nl2br(htmlentities($xml));echo "<p> </p>";
echo nl2br(htmlentities($req->getResponseBody()));
?>
....the issue is our hosting co doesnt support pear. now is their
another workaround for this issue?
Navigation:
[Reply to this message]
|