Newbie - Need help with class files
Posted: Tue Feb 08, 2005 4:12 pm
I am a rank amateur at PHP, so please don't slam me here, but:
I found a pair of PHP class files on phpclasses.org that seem to purport to do what I want. they are found at:
http://www.phpclasses.org/browse/package/2054.html
What I want is a site search for my already completed photo website, to find photos by keyword. I have a flat text file of all the thumbnail photo URLs and descriptions, and am wondering if and how these classes can be used to parse the text file to show thumbnails where the search term(s) match the description (and/or the file name, although almost all are named by date and time).
I tried to create a search webpage using the code included in the classes' documentation, but was unsuccessful. I'm missing something, but I have no idea what. Every query returns nothing but open and close html and body tags.
If I need to turn my flat text file into an mysql db or dbs, I'll do that, but that's another area of non-expertise for me.
Thanks for any help anyone can give me. I'll post whatever code I've kludged together that you may need to figure this out.
I found a pair of PHP class files on phpclasses.org that seem to purport to do what I want. they are found at:
http://www.phpclasses.org/browse/package/2054.html
What I want is a site search for my already completed photo website, to find photos by keyword. I have a flat text file of all the thumbnail photo URLs and descriptions, and am wondering if and how these classes can be used to parse the text file to show thumbnails where the search term(s) match the description (and/or the file name, although almost all are named by date and time).
I tried to create a search webpage using the code included in the classes' documentation, but was unsuccessful. I'm missing something, but I have no idea what. Every query returns nothing but open and close html and body tags.
If I need to turn my flat text file into an mysql db or dbs, I'll do that, but that's another area of non-expertise for me.
Thanks for any help anyone can give me. I'll post whatever code I've kludged together that you may need to figure this out.