PDA

View Full Version : Need Help Modify this Search Engine Code


Primona
03-23-2003, 10:36 PM
I got this cut and paste code to create a site search engine. I'd like to know if someone can give me advice on how to modify this code so that "keywords" get highlighted in the search results. For example, you type "3D meshing" in your keyword search. When you get your search results, you'll see both these terms highlighted in the search results text. Sometimes, you can't even figure out why a page was identified in your search except you see the keywords highlighted.

I also want to know how I can create an "exact" keyword phrase search. For example, someone would type "3D meshing tutorial" in quotations so that only those webpages (or URLs) with this exact phrase would show up.

Here's the code I'd like to modify. Thanks in advance for any assistance. I appreciate your time and your willingness to help!


<form action="http://pub18.bravenet.com/search2/search.php" method="post">
<input type="hidden" name="usernum" value="1473225484" />
<input type="hidden" name="cpv" value="1" />
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#999999"><tr><td><table border="0" cellpadding="4" cellspacing="1" bgcolor="#999999">
<tr bgcolor="#eeeeee"><td align="center"><FONT face="Arial,Helvetica" size="2"><B>Search My Site</b></font></td></tr>
<tr bgcolor="cornsilk"><td align="center"><input type="text" size="15" name="keyword" />&nbsp;&nbsp;
<font face="Arial, Helvetica" size="2"><B><input type="submit" value=" Find It! " /></b></font>
<p><a href="http://www.bravenet.com/" target="_top"><img src="http://images.bravenet.com/pub/searchbut.gif" width="100" height="35" alt="Bravenet Web Services" border="0" /></a></td></tr>
</table></td></tr></table>
</form></div>


</body>

</html>:confused:

Borgtex
03-23-2003, 11:18 PM
There's no code to modify here. You probably have to edit the php file

Primona
03-23-2003, 11:52 PM
Okay, Thanks Borgtex. Do you know of any code that I could get that would give me what I'm looking for? I don't mind paying.

Nightfire
03-24-2003, 12:28 AM
...and as the php file is on bravenet, there's no way to change any settings