<?php 
				//$url = "http://news.search.yahoo.com/search/news?p=malaysia&sm=Yahoo%21+Search&fr=FP-tab-news-t&toggle=1";
				$url = "http://news.search.yahoo.com/search/news?p=malaysia&sm=Yahoo%21+Search&fr=FP-tab-news-t&toggle=1";
				$remote = fopen($url, 'r');
				$temp = "";
				while (!feof($remote)) {
					$temp = fgets($remote, 65536);
					$html = $html.$temp;
				}

				fclose($remote);

				$start = strpos($html, '<ol start=1>');
				$end = strpos($html, '</ol>', $start);

				$results = substr($html, $start, ($start - $end));

				$e = strpos($results, '</li>', 5001);    
				$r = substr($results, 0, ($e+5));

				echo "<font size='-2' face='Verdana, Arial, Helvetica, sans-serif'><p>$r</p>";
				echo "<br>source:: <a href=http://news.yahoo.com>Yahoo! News</a>";
				echo "</font>";

				//teckl												
?> 
