creating a search without a database???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mikewooten
Forum Contributor
Posts: 169
Joined: Wed Feb 11, 2004 12:13 pm
Location: Duluth, Georgia
Contact:

creating a search without a database???

Post 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
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

what will it be searching? (where is the information stored?)
mikewooten
Forum Contributor
Posts: 169
Joined: Wed Feb 11, 2004 12:13 pm
Location: Duluth, Georgia
Contact:

Post 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
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

I meant in what format, e.g. flat files: csv? plain text? xml?
mikewooten
Forum Contributor
Posts: 169
Joined: Wed Feb 11, 2004 12:13 pm
Location: Duluth, Georgia
Contact:

Post by mikewooten »

it would be searching through the cgi-bin and/or through the site, html pages, and cgi scripts.
word32
Forum Commoner
Posts: 27
Joined: Sun May 29, 2005 5:07 pm

Post by word32 »

so you cant make a database? it would be much esier

-word32
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post 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.
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Post by foobar »

Maybe your "other" thread has the answer:

http://forums.devshed.com/php-developme ... 12565.html
Post Reply