1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
$Fields = array(
'Reply' => 'K.',
'Submit' => 'TRUE'
);
$cURL = curl_init("http://www.cplusplus.com/");
curl_setopt($cURL, CURLOPT_POST, TRUE);
curl_setopt($cURL, CURLOPT_POSTFIELDS, $Fields);
curl_setopt($cURL, CURLOPT_COOKIEJAR, 'C:/xampp/htdocs/htaccess/Cookies.txt');
curl_setopt($cURL, CURLOPT_COOKIEFILE, 'C:/xampp/htdocs/htaccess/Cookies.txt');
curl_exec($cURL);
curl_close($cURL);
|
how do I get it to send a PUT http form data request?
Last edited on
I like how the question is neither directly nor indirectly related to C++.
what do you mean? just tell me how to do it, dont bable.
You are showing PHP code, this is a C++ forum.