1, CURLOPT_TIMEOUT => 15]); curl_exec($ch); echo 'HTTP ' . curl_getinfo($ch, CURLINFO_HTTP_CODE) . ' | error: ' . curl_error($ch);