The PC Guide Discussion Forums  
Google
Web The PC Guide
Studying for the A+, Network+ or Security+ exams? Get over 2,600 pages of FREE study guides at CertiGuide.com!
Join the PC homebuilding revolution! Read the all-new, FREE 200-page online guide: How to Build Your Own PC!
NOTE: Using robot software to mass-download the site degrades the server and is prohibited. See here for more.
Find The PC Guide helpful? Please consider a donation to The PC Guide Tip Jar. Visa/MC/Paypal accepted.

Go Back   The PC Guide Discussion Forums > PC Operating Systems and Software > Application and Utility Software
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread
  #1  
Old 10-19-2000, 09:48 PM
tad214 tad214 is offline
Aspirant Master Geek
 
Join Date: Sep 2000
Location: paducah,ky. u.s.a.
Posts: 195
Post script

hello,
i am in the process of creating a database with a html
web page builder. could anyone tell me where i can get
a serch engine script to put in my program so i can
search. i am not going to put a homepage on the net, i am
just using to make the database with. thanks
__________________
"THE PASSION OF THE CHRIST"
Reply With Quote
  #2  
Old 11-26-2000, 02:08 AM
rUzz rUzz is offline
Geek Disciple
 
Join Date: Nov 2000
Location: Greeneville,TN USA
Posts: 48
Post

I misunderstood the question, but if you need a script for a web search here it is.


<script language="JavaScript">
<!--

function startSearch(){
searchString = document.searchForm.searchText.value;
if(searchString != ""){
searchEngine = document.searchForm.whichEngine.selectedIndex + 1;
finalSearchString = "";

if(searchEngine == 1){
finalSearchString = "http://www.altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=.&q="
+ searchString;
}
if(searchEngine == 2){
finalSearchString = "http://av.yahoo.com/bin/query?p=" + searchString + "&hc=0&hs=0";
}
if(searchEngine == 3){
finalSearchString = "http://www.excite.com/search.gw?trace=a&search=" + searchString;
}
if(searchEngine == 4){
finalSearchString = "http://www.hotbot.com/?SW=web&SM=MC&MT=" + searchString +
"&DC=10&DE=2&RG=NA&_v=2&act.search.x=89&act.search .y=7";
}
if(searchEngine == 5){
finalSearchString = "http://www.infoseek.com/Titles?qt=" + searchString +
"&col=WW&sv=IS&lk=noframes&nh=10";
}
if(searchEngine == 6){
finalSearchString =
"http://www.lycos.com/cgi-bin/pursuit?adv=%26adv%3B&cat=lycos&matchmode=and&quer y="
+ searchString + "&x=45&y=11";
}
if(searchEngine == 7){
finalSearchString = "http://netfind.aol.com/search.gw?search=" + searchString +
"&c=web&lk=excite_netfind_us&src=1";
}

location.href = finalSearchString;
}
}



// -->
</script>

<basefont face="Verdana, Arial, sans-serif">

<body>

<form name="searchForm">

<table width=320 border cellpadding=3 cellspacing=2 bgcolor=444444>

<tr>
<td bgcolor=lightblue><font size=1 face="Verdana, Arial, sans-serif">Search for:<br>
<td bgcolor=lightblue><font size=1 face="Verdana, Arial, sans-serif">Search from:
<td bgcolor=lightblue>*

<tr>
<td bgcolor=navajowhite><input style="background: dddddd" name="searchText" type="text">
<td bgcolor=navajowhite>
<select style="background: dddddd" name="whichEngine">
<option selected>Altavista
<option>Yahoo!
<option>Excite
<option>Hotbot
<option>Infoseek
<option>Lycos
<option>AOL Netfind
</select>
<td bgcolor=navajowhite><input type="button" value="Send" onClick="startSearch()">



</table>
</form>



[This message has been edited by rUzz (edited 11-26-2000).]
__________________
Stay alert, stay alive!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:33 AM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© Copyright 1997-2004 Charles M. Kozierok. All Rights Reserved.