Page 1 of 1

Searching

Posted: Wed Dec 18, 2002 9:57 pm
by oldtimer
So far with everything I have seen a search function comes intirely out of a DB. How can you search HTML pages?

Jerry

Posted: Wed Dec 18, 2002 10:05 pm
by nathus
not really sure what you're trying to do searching an html page, so I can't really give too much of an answer. I guess you could try loading the page into an array of strings with file() and search through each line.

Posted: Wed Dec 18, 2002 10:15 pm
by oldtimer
I have a pretty big help page system in HTML that I made for our ISP support staff. I want to make this available to the public and have a link for our customers. But I would like to have a search function so they could search for things like homepage and then it would show the areas where you see that. (of course I woud make everything not case specific :D )