CodeAve.com CodeAve.com - ASP - Response Objects
ASP
·Read/Write
·Script Writers
·Database Display
·Response Objects
·Server Variables
·Random Events
·Articles
·Miscellaneous
·Contents
·What's New?
JavaScript
CSS
HTML
Maps
Links
Mail List
Search
Sitemap


 


Search Many Sites from One Location
The ability to search many websites from one location is a great tool that compliments any web site. By passing user input for the search terms in combination with the search location from some of the more popular search engines and utilizing response.redirect users can search a number of search engines with just a few mouse clicks.
View the Output
Text View
Print View
Mail this Link
Download the Code

<%
u_search=request.form("u_search")
u_engine=request.form("u_engine")
if u_search = "" then
%>

<form action="<%= request.servervariables("script_name") %>" method="post" target="_blank">
<input type="text" name="u_search" >
<br>
<select size="1" name="u_engine">
<option selected value="http://search.yahoo.com/bin/search?p=">Yahoo!</option>
<option value="http://www.go.com/Titles?qt=">Go.com</option>
<option value="http://home.snap.com/search/directory/results/1,61,-0,00.html?keyword=">Snap.com</option>
<option value="http://www.goto.com/d/search/?Keywords=">GoTo.com</option>
<option value="http://search.excite.com/search.gw?search=">Excite</option>
<option value="http://www.lycos.com/srch/?query=">Lycos</option>
<option value="http://hotbot.lycos.com/?MT=">HotBot</option>
<option value="http://www.altavista.com/cgi-bin/query?&q=">Alta Vista</option>
<option value="http://www.webcrawler.com/cgi-bin/WebQuery?searchText=">WebCrawler</option>
<option value="http://www.mamma.com/Mamma?&query=">Mamma.com</option>
<option value="http://search.aol.com/dirsearch.adp?query=">AOL.com</option>
<option value="http://search.msn.com/results.asp?q=">MSN.com</option>
</select>
<input type="submit" value="Search" >
</form>
<% 
else 
response.redirect u_engine & server.urlencode(u_search) 
end if
%>

 

 

 



ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
Server Variables | Response Objects | Random Events | Miscellaneous
HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
JavaScript: Document Info | Forms | Images | Navigation | Script Writers
CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

  • Kids jordan 6 rings
  • Jordan retro 10
  • Jordan retro 3