Page 1 of 1

Re: PHP CURL help needed

Posted: Thu Nov 08, 2012 8:12 am
by johnj
You can try this:
$data = array('updatecart' => '35b35rt45', 'http_referer' => '/cart/update-cart.php');
curl_setopt($ch, CURLOPT_POST, 2);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);