		<?php
								// 		$homepage = file_get_contents('https://www.nrb.org.np/fxmexchangerate.php/');
								// 		$str = substr( $homepage, strpos( $homepage, '<!--                These contents are dynamics-->'));
								// 		$str=substr($str, 0,strpos($str, "Forex Graph"));
								// 		$str= preg_replace("/<([a-z][a-z0-9]*)[^>]*?(\/?)>/i",'<$1$2>', $str);
								// 		echo strip_tags($str,"<td><tr>");


?>




<?php
$url = "http://www.example.org/";
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$contents = curl_exec($ch);
if (curl_errno($ch)) {
  echo curl_error($ch);
  echo "\n<br />";
  $contents = '';
} else {
  curl_close($ch);
}

if (!is_string($contents) || !strlen($contents)) {
echo "Failed to get contents.";
$contents = '';
}

echo $contents;
?>  