<title>...</title>
<body>
<%
Keyword=split (Request.Form ("TextField")) ' separates multiple keywords with spaces and saves them in keyword array
Str= ""
For the i=0 to UBound (keyword) ' UBound function to get the maximum subscript value of the array, link multiple keywords with a "+" number
If I=ubound (keyword) then
Str=str&keyword (i)
Else
Str=str&keyword (i) & "+"
End If
Next
If Request.Form ("select") = "Sohu" Then ' select ' Sohu '
Response.Redirect ("http://search.sohu.com/web?query=" &str) ' Go to sohu Search User Keyword page
' Http://search.sohu.com/web?query=asp+%cb%d1%cb%f7%d2%fd%c7%e6&radiobutton=0
End If
If Request.Form ("select") = "Sina" Then ' select Sina '
Response.Redirect ("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey=" &str) ' Go to Sina Search User Keyword page
' Http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey=asp++%cb%d1%cb%f7%d2%fd%c7%e6
End If
If Request.Form ("select") = "Baidu" Then ' select ' Baidu '
Response.Redirect ("http://www.baidu.com/s?cl=3&wd=" &str) ' Go to Baidu Search User Keyword page
End If
%>
</body>