Quote:
Originally Posted by Musica
Hi,
I'm not too sure if this is the correct board to ask this but I was wondering how do you create a site search. Those search thingy that only search thru your site on not the net.
Someone told me I could do it with mySQL but the the he forgot to tell me how or refer me somewhere i can learn
Anyway, if there a ready made script would be great but if i nid to code it manually it would be even better since i can learn.
Thanks
|
You have 2 options: load all your site content into an SQL database or use a script to scan all of the files that comprise your site. The best solution for your needs depends on several things:
-Size of your site
-Tools/languages available to you
-Types of queries.
You could also use google: just write a simple form that uses:
http://www.google.com/search?q=<<your search term here>>+site%3A<<your_site.comhere>>