obtenir le code http curl php
$info = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($info == 200){
return json_decode($result);
}
Indonesia People
$info = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($info == 200){
return json_decode($result);
}
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);