this is what I'm using:
$ch = curl_init($gat_url); // url to post to
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // contains the XML
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$x = curl_exec($ch);
curl_close($ch);
-----Original Message-----
From: Petras Virzintas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:24 PM
To: PHP General List
Subject: [PHP] cURL and XML?
Hi, has anyone successfully posted an XML data file using the PHP cURL
functions? If so, could you please send an example of the "curl_setopt"
function names used.
Thanks in advance
Petras