Here is an idea
?
// make array out of words in search string
$search_array = explode(' ', $search);
// make regexp pattern '.*(this|or|that).*'
$string = .*( . implode('|', $search_array) . ).*;
$query = SELECT * FROM my_table WHERE body REGEXP '$string';
$result = mysql_query($query,
I don't see why not, but you have to write the search engine. i.e. create a form,
take user input, search your database, search your static files, and return some
formatted output with links to the content. It's a project. Someone else might be
able to point you to some pre-written code. I
Check out phpdig: http://phpdig.toiletoine.net/
My guess is that one of these packages on the web can serve as a foundation
for you... You might just need to build a custom layer on top of it.
Check out the site freshmeat.net. It tracks software packages and new
updates and is quite focused on
you could try looking at http_referer or remote_host or something like that.
Never tried it myself, but sounds like it'd work... dunno what the values
for them would be though :(
-Original Message-
From: Dani [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 2:17 PM
To: PHP LIST
On Monday 14 January 2002 10:08, Martin Towell wrote:
you could try looking at http_referer or remote_host or something like
that. Never tried it myself, but sounds like it'd work... dunno what the
values for them would be though :(
-Original Message-
From: Dani [mailto:[EMAIL
5 matches
Mail list logo