Answers for "retrieve error message from curl php"

PHP
4

curl php show error

if(curl_exec($ch) === false)
{
    echo 'Curl error: ' . curl_error($ch);
}
else
{
    echo 'Operation completed without any errors';
}
Posted by: Guest on June-08-2020

Browse Popular Code Answers by Language