![]() Topic awaiting preservation: PHP - internal search (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Canada |
![]() 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 |
![]() 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 |
![]() |
Bipolar (III) Inmate From: Canada |
![]() 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. |