高海峰:搜索引擎怎么做
Yuan的回答:
如果只是想在网页上放一个搜索引擎,加几句代码就可以,把要搜索的信息连到百度或GOOGLE上了,就转到百度的搜索了。如果想做搜索引擎就很麻烦了,投资也很大。 如果是那个连接的代码的话,如下: sousuo.asp
zhuanxiang.asp <% response.buffer=true Dim strUrlRedirTo,strSearchStrings strSearchStrings=trim(request.QueryString("SearchStrings")) If (Len(strSearchStrings)) then strSearchStrings=Server.UrlEncode(strSearchStrings) 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 %> 如果你要做搜索引擎,我想你应该没那个资本。Yuan的回答:
如果只是想在网页上放一个搜索引擎,加几句代码就可以,把要搜索的信息连到百度或GOOGLE上了,就转到百度的搜索了。如果想做搜索引擎就很麻烦了,投资也很大。 如果是那个连接的代码的话,如下: sousuo.asp
zhuanxiang.asp <% response.buffer=true Dim strUrlRedirTo,strSearchStrings strSearchStrings=trim(request.QueryString("SearchStrings")) If (Len(strSearchStrings)) then strSearchStrings=Server.UrlEncode(strSearchStrings) 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 %> 如果你要做搜索引擎,我想你应该没那个资本。...的回答:
不是太清楚
BlueDream的回答:
关注中
经验分享互联网动态
更多阅读推荐