Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search functionality?

Status
Not open for further replies.

ncar35b

Technical User
Jan 10, 2003
55
US
Hello, I'd like to add a search function to a website (a text field and a submit button). Can someone please point me in the right direction to get started on how the backend of this would work? Whether there is custom code, or something prewritten for purchase, I'd be interested in getting people's thoughts. Any help is greatly appreciated.


Thanks, Josh
 
You could use FileSystemObject to search each file in your website (certain file types and folders can be excluded) but depending on the size of your site it may become slower as your site grows. If it is a fairly small site then this may be a good way to go as it is very flexible.

Another way would be to include descriptions of each page in a database and then search the database for keywords. This will mean that you have to keep the database up to date though.
 
Thanks for your help! I think the FSO is the way to go in my case.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top