Re: Problems posting xml file with curl and php
| From: | Nathan Nobbe | Date: | Tue, 18 Mar 2008 20:56:22 +0000 |
| Subject: | Re: Problems posting xml file with curl and php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271747@lists.php.net to get a copy of this message | ||
On Tue, Mar 18, 2008 at 4:37 PM, Michael Horowitz <
michael@yourcomputerconsultant.com> wrote:
> I've actually tried that and it didn't work for the server I am sending
> it to. Is there a way to post just the xml without turning it into an
> array or is this the only way.
i dont know how to do it w/ the standard curl functions in php, but you can
do it w/ the http extension via
HttpRequest::addRawPostData()
http://us3.php.net/manual/en/function.HttpRequest-addRawPostData.php
-nathan