Closed Thread Icon

Topic awaiting preservation: PHP - internal search Pages that link to <a href="https://ozoneasylum.com/backlink?for=12958" title="Pages that link to Topic awaiting preservation: PHP - internal search" rel="nofollow" >Topic awaiting preservation: PHP - internal search\

 
Author Thread
marf
Bipolar (III) Inmate

From: Canada
Insane since: Oct 2001

posted 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?

Thanks

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted 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.

___________________
Emps

The Emperor dot org

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 10-30-2003 09:41

http://phpdig.toiletoine.net/


marf
Bipolar (III) Inmate

From: Canada
Insane since: Oct 2001

posted 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.

« BackwardsOnwards »

Show Forum Drop Down Menu