Well, what you ask for is pretty generic, so here's my 2 line search engine ;-)
// Regex to match $data = join('', file('htmlfile')); preg_match("/ ... /", $data, $matches); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -----Original Message----- > From: Mircea Goia [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 3:27 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Searvh engine... > > > Hi, > > Is there an example of a search engine made in PHP which can search in > HTML files (a website made only with HTML)? > And, if possible, without needing a database (maybe a flat text file > database)? > > If someone has a piece of code, can he send it to me? > > Thanks, > Mircea > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php