$GetUrl="http://www.dmiws.com/";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $GetUrl);
curl_setopt($ch,CURLOPT_FOLLOWLOCATION,TRUE);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$CurlContent = curl_exec ($ch);
curl_close ($ch); // close the curl connection to release resources
echo $CurlContent; // output the final page content
?>