In PHP curl there is curl_error() function which catch the error. Here is example code for cURL error. <?php $url = 'https://hackthestuff.com/api/request'; ...
確定! 回上一頁