¾ßÈÄ ¿µ¾î ¼¹ö°¡..°¡»óÈ£½ºÆ®·Î ¼³Á¤µÇ¾î ÀÖ´Â °Í °°½À´Ï´Ù.
¹ö±×´Â ¾Æ´Ï°í..¼¹ö»ç¾çÀ̳ª..ÁÖ¼Ò°¡..¹Ù²î¸é..¾ðÁ¦µçÁö..µ¿ÀÛÇÏÁö ¾ÊÀ» ¼ö ÀÖ½À´Ï´Ù.
¾Æ·¡ÄÚµå´Â 4-14ÀÏ ÇöÀç..ÀÛµ¿µË´Ï´Ù.
<?
$SERVER="kr.engdic.yahoo.com";
$fp = fsockopen($SERVER,80,&$errno,&$errstr,30);
if (!$fp) {
echo "&error=accessfailed";
}else{
$check=0;
fputs($fp,"GET http://kr.engdic.yahoo.com/result.html?word=$keyword HTTP/1.0
");
while(!feof($fp)) {
$temp=fgets($fp,1024);
if ($check==1) {
if (eregi("/images/font/phon",$temp)) {
eregi("(phon225.gif" align=center>)+([a-zA-Z]*)",$temp,$key);
$temp3=explode("align=center>",$temp);
$new_temp.="<font color=#0000FF>$key[2]</font>";
$new_temp.="<br>";
}
else $new_temp.=$temp;
}
if ($check!=1 && eregi("</table></td></tr></table></td></tr></table></td></tr></table>",$temp)) $check=1;
if ($check==1 && eregi("</font></font>",$temp)) $check=0;
}
fclose($fp);
}
$new_temp = str_replace("<font style="line-height:140%">","",$new_temp);
$new_temp = eregi_replace("<br>","%0A",$new_temp);
$new_temp = ereg_replace("(#[0-9a-fA-F]{6})",""1"",$new_temp);
$new_temp = ereg_replace("
","",$new_temp);
$new_temp = ereg_replace("
","",$new_temp);
$new_temp = ereg_replace("<([^#font]+)>","[1]",$new_temp);
echo "&result=$new_temp&eof=true";
?>
2001-04-14 00:00:00 |
|