Re: Problems posting xml file with curl and php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxxxx <mailto:michael@xxxxxxxxxxxxxxxxxxxxxxxxxx>> 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux