I send the request to the statistics for getting the statistics, but the wardamp returns an empty string. When I look at the content type, it writes that the text \ csv. Technical support also says that we will send you an answer in the body of a reply response. Tell me what to do to see this answer (or write it to the database or file).
$ch = curl_init($url_stat); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); $response_stat = curl_exec($ch); curl_close($ch); echo "<pre>"; var_dump($response_stat); echo "</pre>";
string 'HTTP/1.1 200 OK Server: openresty Date: Thu, 01 Dec 2016 13:25:27 GMT Content-Type: text/csv Transfer-Encoding: chunked ' (length=127)- ASYOU$curl_getinfo(not mentioned in this code), then howcurl_execsave the result ofcurl_execin$response_stat? - Shallow$response_stat- ASYOUvar_dumphow long does the text report? Try to play through the console curl - Small