\n"; echo "\n"; echo "
\n"; $q =urlencode($q); $str = file_get_contents('http://realtime.search.yahoo.co.jp/search?p='.$q); if (preg_match('!TS2bh end-->\s*(.*)/#TSm -->!s', $str, $res)){ print $res[1]; } echo "
\n"; echo ""; ?>