Page 1 of 1
creating a search without a database???
Posted: Sat Dec 17, 2005 12:16 pm
by mikewooten
i want to be able to create a search form using PHP, the search form can't search a database.
the search form will have dropdown menu's and text fields.
how do you create a search using PHP that doesn't search a database, but still searches information???
if anyone could help me out with this, that would be great.
thanks
Posted: Sat Dec 17, 2005 1:09 pm
by Jenk
what will it be searching? (where is the information stored?)
Posted: Sat Dec 17, 2005 1:15 pm
by mikewooten
this is the page that i am curently working on:
http://www.ehouseforrent.net/cgi-bin/mo ... ype=search
this page is currenly using cgi-scripts, so i guess the information is stored in the cgi-bin
Posted: Sat Dec 17, 2005 2:35 pm
by Jenk
I meant in what format, e.g. flat files: csv? plain text? xml?
Posted: Sat Dec 17, 2005 2:42 pm
by mikewooten
it would be searching through the cgi-bin and/or through the site, html pages, and cgi scripts.
Posted: Sat Dec 17, 2005 4:41 pm
by word32
so you cant make a database? it would be much esier
-word32
Posted: Sat Dec 17, 2005 5:45 pm
by matthijs
If you're looking for a search script in php Growsearch is a good and simple search script (
http://www.gr0w.com/amos/growsearch/. I have tried it myself and got it working quite easily. It searches flat (html or php) files.
Posted: Sat Dec 17, 2005 6:12 pm
by foobar