Re: Problems posting xml file with curl and php

From: Date: Tue, 18 Mar 2008 21:22:54 +0000
Subject: Re: Problems posting xml file with curl and php
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-271748@lists.php.net to get a copy of this message
Not much documentation there. How would this function be integrated with curl. my quick google doesn't show much discussion of this function. Michael Horowitz Your Computer Consultant http://yourcomputerconsultant.com 561-394-9079 Nathan Nobbe wrote:
On Tue, Mar 18, 2008 at 4:37 PM, Michael Horowitz <michael@yourcomputerconsultant.com <mailto: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


« previous php.general (#271748) next »