[^&]*)/i'',$path,$regs)){
$searchengine = ''YODAO'';
$keywords = urldecode($regs); // yodao
}elseif(strpos($domain,''zhongsou.com'')!==false && preg_match(''/word=([^&]*)/i'',$path,$regs)){
$searchengine = ''ZHONGSOU'';
$keywords = urldecode($regs); // zhongsou
}elseif(strpos($domain,''search.tom.com'')!==false && preg_match(''/w=([^&]*)/i'',$path,$regs)){
$searchengine = ''TOM'';
$keywords = urldecode($regs); // tom
}elseif(strpos($domain,''live.com'')!==false && preg_match(''/q=([^&]*)/i'',$path,$regs)){
$searchengine = ''MSLIVE'';
$keywords = urldecode($regs); // MSLIVE
}elseif(strpos($domain, ''tw.search.yahoo.com'')!==false && preg_match(''/p=([^&]*)/i'',$path,$regs)){
$searchengine = ''YAHOO TAIWAN'';
$keywords = urldecode($regs); // yahoo taiwan
}elseif(strpos($domain,''cn.yahoo.'')!==false && preg_match(''/p=([^&]*)/i'',$path,$regs)){
$searchengine = ''YAHOO CHINA'';
$keywords = urldecode($regs); // yahoo china
}elseif(strpos($domain,''yahoo.'')!==false && preg_match(''/p=([^&]*)/i'',$path,$regs)){
$searchengine = ''YAHOO'';
$keywords = urldecode($regs); // yahoo
}elseif(strpos($domain,''msn.com.tw'')!==false && preg_match(''/q=([^&]*)/i'',$path,$regs)){
$searchengine = ''MSN TAIWAN'';
$keywords = urldecode($regs); // msn taiwan
}elseif(strpos($domain,''msn.com.cn'')!==false && preg_match(''/q=([^&]*)/i'',$path,$regs)){
$searchengine = ''MSN CHINA'';
$keywords = urldecode($regs); // msn china
}elseif(strpos($domain,''msn.com'')!==false && preg_match(''/q=([^&]*)/i'',$path,$regs)){
$searchengine = ''MSN'';
$keywords = urldecode($regs); // msn
}
return $keywords;
}