[php]
$url = ‘https://www.atlasvanlines.com/atlas-network/network-content.aspx’;
$html = url_get_contents($url);
echo $html;
function url_get_contents($url) {
if (!function_exists(‘curl_init’)){
echo(‘CURL is not installed!’);
}
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$output = curl_exec($ch);
curl_close($ch);
return $output;
}
[/php]
Follow Ace On