It's not that complicated, after crawling your website at a specific
time you can check for content created in your database after that time.
Then you can search specific fields from that content for words and
index them. If you need to find a href= tags you'ld best use regular
expressions to
Hi Ron
This doesn't sound like a Db problem then.
You could open each page and use a regex to search for the links.
Something like:
preg_match_all(/a href=\(.+)\(.*)\a/, $page, $matches,
PREG_PATTERN_ORDER);
which would produce an array ($matches[1]) of the addresses and a array
Title: RE: [PHP-DB] Search engine
What about the MySQL LIKE command? Research it.
This is assuming your data is stored properly without redundant data and in a MySQL database.
___
Shaun Riches
Computer Science Student
-Original Message-
From: Ron Piggott (PHP
Hi
What about the MySQL LIKE command? Research it.
An excellent start for searching a db, but did you miss the point of the
question. He wanted to know if anyone had experience with this to save
him building from the ground up.
I haven't, l so didn't reply
If no other help is forthcoming,
and in a MySQL database.
___
Shaun Riches
Computer Science Student
-Original Message-
From: Ron Piggott (PHP) [mailto:[EMAIL PROTECTED]
Sent: Thu 28/09/2006 03:44
To: PHP DB
Subject: [PHP-DB] Search engine
___
Shaun Riches
Computer Science
without redundant data
and in a MySQL database.
___
Shaun Riches
Computer Science Student
-Original Message-
From: Ron Piggott (PHP) [mailto:[EMAIL PROTECTED]
Sent: Thu 28/09/2006 03:44
To: PHP DB
Subject: [PHP-DB] Search engine
___
Shaun Riches
Has anyone wrote a search engine for the web site? I am wondering if
someone has the time to help me walk through doing this. Ron
I have wrote a basic search engine PHP script. I have created a mySQL
database of the files which are allowed to be searched (Example:
directory/file_name.html) When someone enters search criteria the mySQL
database is opened and the various web site files are loaded one at a time,
dumped into a
Hi! I'm new to this list. I usually try to get my answers at the php-win
mailing list...
But since this is a mysql question I thought it would be better to ask i t
here;
How do I get the best result from a simple search (just one input box and a
search button) from a mysql db with two tables
1. use WYSIWYG html editor to make the initial HTM page with a search
form with 2 text boxes.
2. the action for the form is the PHP page.
3. connect the two (using the variables in the sql query statement
that's what i do...
andrew hill wrote:
Hi,
Can anyone recommend either a
Hi,
Can anyone recommend either a general approach or sample scripts to create a
search-box on my site?
It's an existing site being dynamically generated from a database - I want
to specify a couple of fields in my main page table to be searched on.
cheers,
duirfire
Can some one tell me how i would make a search engine, like what talbes
and how many fields and what the form should look like
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
12 matches
Mail list logo