I\'m having trouble posting form data via CURL to a receiving PHP script located on a different host.
I get an Array to string conversion error
Array to string conversion
I think you'll need to pass the options as a string:
curl_setopt($this->ch, CURLOPT_POSTFIELDS, 'name[]=Jason&name[]=Mary&name[]=Lucy...');
You should then be able to set the header manually via CURLOPT_HTTPHEADER.