I added the header and blank line to my $outgoing_data but no luck. It was like... <? $outgoing_data=" CustomHeader: Test\n\n <?xml version=\"1.0\"?> ..xml document..";
..curl exec (see prev message or email me).. ?> Any cURL XML phreaks out there? Or someone that can tell me how to pass an HTTP header through cURL before sending my XML. I can provide code if you cant find my original post. Maybe it is the way I am exec'ing curl??? help! thanks, Kris Tomasz Orzechowski wrote: >Kristopher Yates wrote on Tue, Sep 03, 2002 at 04:14:35PM -0500: > > >>Please examine this snippet and let me know what I need to add to my >>$outgoing_data in order to pass an http request header before the xml >>goes out... >> >> > >something like: > >POST http://www.blah.org/readme.php HTTP/1.0 > >followed by a blank line. i'm not sure I got the arguments to POST >right, check the HTTP spec on w3.org or google for it. but in general >this is what you need to do. the xml stuff needs to be the 'body' of >the 'POST' HTTP request. > >HTH, > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php