Ben bir webcoder normal kıvırmak çağrıyı yapıyorum ve ben üzerinden dönüş HTTP kodu kapmak
$code = curl_getinfo ($ch, CURLINFO_HTTP_CODE);
It does return me $code as 200 - which is good. But logging the curl calls now from a week, there where few calls to the same webservice which didn't return anything! so basically I am getting $code as blank.
Birisi bu senaryolar altında yanlış gidiyor ne olması gerektiğini bana söyleyebilir, ve daha fazla hata ayıklama eğer!?
Thanks, Tanmay
----------------------- Güncelleme -------------------------
Teşekkürler bilgi için herkes. Evet ben de, aynı düşünüyordum onun sunucu ulaşmasını değil. Curl_error almak ile benim kodu güncellemek olacak && curl_errno ve yakında çocuklar güncelleyecektir.
Tekrar teşekkürler.
---------------------- Update 2--------------------------------------------------------- I did update my code to return me the error no 7 - couldn't connect to host. I did logged all the curl calls, so basically around 90-98% of curl calls are executing good. But only 1-2% of curl calls are not able to find the host! Can anyone tell me what could be the reason? and How I can prevent it?
Thanks again, Tanmay