Topic awaiting preservation: PHP - internal search (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Canada |
posted 10-30-2003 02:42
Ok. I have a website, and a Number of Articles. Now the articles are in their own archived folder on the webserver. I want to add a search function to the webpage. When the user searches a word, I want the php script to search the filenames in taht certain folder, and if it finds all or part of a word matching, then it will show the results. Basically a mini search engine. Anybody know a tutorial or how I can go abotu doing this? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 10-30-2003 02:49
marf: Do you mean you are looking for the keyword in the filenames? Or that it searches the files in that folder? If the later then it is probably worth indexing each article as it is added and storing the words in a database table. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 10-30-2003 09:41 |
Bipolar (III) Inmate From: Canada |
posted 11-01-2003 15:05
OK, phpdig is more than what i want. Making a table or simple text file with the keywords in it seems much more feesable, thats all i would need. |