帮忙看一下if(Len(strSearchStrings)) 的作用
<%
Response.buffer=true
dim strUrlRedirTo,strSearchStrings
strSearchStrings=Trim(Request.QueryString("SearchStrings"))
if(Len(strSearchStrings)) then --->这一行有什么用啊?
strSearchStrings=Server.UrlEncode("strSearchString")
if Request.QueryString("goURL")="百度" then
strUrlRedirTo="http://www.baidu.com/baidu?word="&strSearchStrings
end if
if Request.QueryString("goURL")="Yahoo" then
strUrlRedirTo="http://cn.websearch.yahoo.com/search/web_cn?p="&strSearchStrings
end if
response.redirect strUrlRedirTo
end if
%>