Reply to Re: how to submit xml

Your name:

Reply:


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>&nbsp;</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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация