$your_url = "https://consumablesandstores.com/";
//$your_url = "https://www.sancuro.com/";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $your_url);
curl_setopt($ch, CURLOPT_FAILONERROR, true); // Required for HTTP error codes to be reported via our call to curl_error($ch)
curl_exec($ch);
if (curl_errno($ch)) {
$error_msg = curl_error($ch);
}
curl_close($ch);
if (isset($error_msg)) {
}
we have to check our live site to open using curl but it's showing blank.Another site is open please give me solution what is exact issue? How to resolve?