after curl post, how to check the postfield - to debug
how can i check after curl_close ($ch); what post field variables were sent?
Your script provides the variables sent with the CURLOPT_POSTFIELDS
options, so if the cURL executed successfully, you already have those variables:
...$output = curl_exec($ch); // Execute//show the POST fields if they were sent successfullyif($output) print_r($varpost);else echo "cURL failed: no POST fields sent";