Searching for many keywords simultaneously

From: Date: Tue, 21 May 2002 12:39:59 +0000
Subject: Searching for many keywords simultaneously
Groups: php.windows 
Request: Send a blank email to php-windows+get-13884@lists.php.net to get a copy of this message
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

« previous php.windows (#13884) next »