Here is something that may help. It looks like a good start http://www.phpbuilder.com/forum/read.php3?num=2&id=132692&thread=132689
--------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -----Original Message----- > From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 21, 2002 8:40 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Searching for many keywords simultaneously > > > > I have a search and replace where the search for consists of > 300 words. > Luckily this will only have to be done when a user uploads a > file. The > file may contain several hundred words itself. My question is what is > the best way to approach searching for this many words? Should I use > an array and loop through the file for each of the search > words? Or is > there a more efficient method? > > Thanks, > Ron > > -- > 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