G
G
genesis11112020-03-16 17:49:38
PHP
genesis1111, 2020-03-16 17:49:38

Why is Denver getting null in curl response?

Hello!
Installed Denver, removed the comment from extension=php_curl.dll

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url.'me/accounts?type=pages&access_token='.$access_token);
curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
$out = curl_exec($curl);
var_dump($out);

In the bool(false) response, the same script works quietly on the hosting

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question