Posted by Jerry Stuckle on 06/13/07 10:53
shotokan99 wrote:
> 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?
>
>
Install Pear yourself, maybe?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|