Problems with PHP insert Mark July 30, 2016 15:21 Follow Hi, I've tried to insert a Conversion with this script, but i always get an error... do you know why? test2.php (668 Bytes) Have more questions? Submit a request 1 Comments Date Votes 0 Francesco May 28, 2014 15:58 Hi Mark, your code is almost right, but in CURL to set multiple headers you must do it in a single call. So you must do: curl_setopt($ch, CURLOPT_HTTPHEADER, array('X-Clickmeter-Authkey: '.$api, 'Content-Type: application/json')); curl_setopt($ch, CURLOPT_HEADER, 0); Hope it helps! Please sign in to leave a comment.