Log in

View Full Version : [Need] Search Script..



Puma
15-11-2007, 07:09 PM
am looking for a search script for my new Lyrics site.. the search tool is for searching lyric on the site itself.. ive been using google to find one but they are search tool like google =.= please help +REP will be given

Awfy
15-11-2007, 07:42 PM
You want a 'script' that searches your site. I think you'll need to build one into the site as there isn't really a way to use a premade script and just stick it one.

Dentafrice,
15-11-2007, 09:06 PM
Just make one to search through the MySQL using like.

Puma
15-11-2007, 09:34 PM
could u make me one please xD

Zak
21-11-2007, 12:36 AM
<script type="text/javascript">
var domainroot="YOUR WEBSITE HERE"
function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}
</script>

<form action="Where You Want It To Search" method="get" onSubmit="Gsitesearch(this)">
<p>Search Whatever You Like:<br />
<input name="q" type="hidden" />
<input name="qfront" type="text" style="width: 180px" /> <input type="submit" value="Search" /></p>
</form>


Something like that, hope it helped.

Want to hide these adverts? Register an account for free!