By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,156 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

Need to a idea for search

P: 190
Hi Guys,

I have a new task that search a text in a website. I need to provide a search option on website,that website is an existing one and there is no structure in that . All pages are static html. If am give an any word (.i.e sample) then search will find the pages that contain the text and display the pages which contain the text as a result....

Which method i use....

Crawl or google search...

I thing google provide a search with in the side....

Any suggestion....
Sep 9 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 6,050
Searching static pages isn't the easiest of things to do; try google's site search.

Kind regards.
Sep 9 '08 #2

P: 258
I think you can do it by opening each file.
But it wont be fast enough for big websites with many visitor .The best thing you can do is to put the content of files in a database and search them by MYSQL queries.

There might be better ideas
Sep 9 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.