[PHP] php search engine

2007-03-19 Thread Ross
Hi,

I am looking for a php search engine that provides a suggested words 
(soundex?) when items are misspelt, the way google does.

I have used http://www.site-search-pro.com/ i n the past which is great but 
as far as I know this feature is not included.


Ross 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php search engine

2007-03-19 Thread Tijnema !

On 3/19/07, Ross [EMAIL PROTECTED] wrote:

Hi,

I am looking for a php search engine that provides a suggested words
(soundex?) when items are misspelt, the way google does.

I have used http://www.site-search-pro.com/ i n the past which is great but
as far as I know this feature is not included.


Ross


I've never heard of such search machine, except from google then. But
i know the google code was released on warez boards. I'm not giving
you a link where to download, as it is illegal to have that code.

Tijnema


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php search engine

2007-03-19 Thread tedd

At 4:50 PM +0100 3/19/07, Tijnema ! wrote:

On 3/19/07, Ross [EMAIL PROTECTED] wrote:

Hi,

I am looking for a php search engine that provides a suggested words
(soundex?) when items are misspelt, the way google does.

I have used http://www.site-search-pro.com/ i n the past which is great but
as far as I know this feature is not included.

Ross


I've never heard of such search machine, except from google then. But
i know the google code was released on warez boards. I'm not giving
you a link where to download, as it is illegal to have that code.

Tijnema


Ross:

I may be off-base here, (not a soundex example) but if a site search 
is all your after, try this one:


http://sperling.com/examples/search/

Cheers,

tedd
--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php search engine

2007-03-19 Thread Richard Lynch
On Mon, March 19, 2007 5:21 am, Ross wrote:
 I am looking for a php search engine that provides a suggested words
 (soundex?) when items are misspelt, the way google does.

 I have used http://www.site-search-pro.com/ i n the past which is
 great but
 as far as I know this feature is not included.

I suppose you could hack your own with http://php.net/soundex or any
of the other 3 or 4 similar packages available in PHP...

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Kevin

Hi,

Is it possible to automatically search for synonyms related to a word in 
a search engine for example if I create a search engine and search for 
the word 'Horse', it would automatically search for other words such as 
'Pony' etc?


Has anyone had any experience on how this would be implemented?

Thanks

Kevin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Ed Lazor
Another idea from what I just sent:  try googling synonym  
database.  It looks like there are a few leads in there as well.


On Oct 30, 2006, at 6:26 AM, Kevin wrote:


Hi,

Is it possible to automatically search for synonyms related to a  
word in a search engine for example if I create a search engine and  
search for the word 'Horse', it would automatically search for  
other words such as 'Pony' etc?


Has anyone had any experience on how this would be implemented?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Ed Lazor


On Oct 30, 2006, at 6:26 AM, Kevin wrote:


Hi,

Is it possible to automatically search for synonyms related to a  
word in a search engine for example if I create a search engine and  
search for the word 'Horse', it would automatically search for  
other words such as 'Pony' etc?


It is possible:  http://www.google.com/help/refinesearch.html


Has anyone had any experience on how this would be implemented?


I haven't done it, but it seems straight forward.  Start with one  
word, query a database for it's synonyms, and then use the resulting  
words (including the original word) in the final search query.  It  
just seems like it would take a lot of work to create a database of  
words and their synonyms.  You'll also need to add weight and sort  
the results so that your initial keyword scores higher.  Honestly, if  
I were you, I'd run this question by the MySQL mailing list.  PHP  
just works with the results of the search, so you still end up having  
to figure out how to do this in MySQL (or whatever database you're  
using).  Another thing that might help is to Google keywords like  
synonym search programming technique.  I had to sort through the  
results, but it did look like there were a few interesting articles.   
Here's one of them:  http://developer.apple.com/documentation/ 
UserExperience/Conceptual/SearchKitConcepts/searchKit_basics/ 
chapter_2_section_2.html


-Ed

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Search and Privacy...

2006-10-24 Thread Russell Jones

You're right - i dont know if there is even a standards body that would
cover something like this. I am assuming, along with that answer, that none
of the popular php site search tools have implemented it yet. Ill see if i
can throw something into one of the more common scripts...

Russ

On 10/23/06, Chris [EMAIL PROTECTED] wrote:


Russell Jones wrote:
 Does anyone know if any of the PHP Site-Search tools have implemented
the
 new #privacy search standard (http://www.poundprivacy.org). Looking to
 install a new site-search and I would really like to install something
that
 is compliant...

Don't know of any off hand but that site looks like a campaign to make
something happen, not a standard. Two completely different things.

Pound Privacy is a *campaign* to create the first standard for search
engine query privacy.

--
Postgresql  php tutorials
http://www.designmagick.com/



[PHP] PHP Search and Privacy...

2006-10-23 Thread Russell Jones

Does anyone know if any of the PHP Site-Search tools have implemented the
new #privacy search standard (http://www.poundprivacy.org). Looking to
install a new site-search and I would really like to install something that
is compliant...


Re: [PHP] PHP Search and Privacy...

2006-10-23 Thread Chris

Russell Jones wrote:

Does anyone know if any of the PHP Site-Search tools have implemented the
new #privacy search standard (http://www.poundprivacy.org). Looking to
install a new site-search and I would really like to install something that
is compliant...


Don't know of any off hand but that site looks like a campaign to make 
something happen, not a standard. Two completely different things.


Pound Privacy is a *campaign* to create the first standard for search 
engine query privacy.


--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Search Engine

2005-11-09 Thread Petr Smith

Richard Lynch wrote:

On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote:


Has anyone on here created a search engine in PHP?



Sure, of sorts, now and again, here and there, to some degree.




I am reasonably certain that if you Googled for:
PHP web spider framework
you would find several packages that would have at least 99% of what
you need...  Because these simply have to exist out there.



From you description it seems like writing search engine (full text) is 
simple task for three or four nights. It's not true.


Writing quality full text search engine is very complex task and you can 
stuck at lots of problems. If you don't understand the theory of text 
searching, you can finish it somehow, but it will not search the way 
people are used to. The results will be wrong.


You think there have to be something written in PHP. There is not. Lots 
of dead experiments - yes. Something good, working and in active 
developement - no. There is even not much open source search engines 
written in other languages. You just cannot stick to PHP - but it 
doesn't matter in which language is the spider. You need only some 
interface to the search part.


Here's my list:

mysql fulltext - toy for children
phpdig - lots of little problems here and there, unusable
htdig - dead, buggy
swish-e - dead?
swish++ - one man show?
aspseek - dead
mnogosearch - try it, it's not google, but usable, php interface
lucene - top quality, best query syntax
egothor - people says it's usable

did I forgot something good?

Petr

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP Search Engine

2005-11-09 Thread Arno Kuhl
-Original Message-
From: Petr Smith [mailto:[EMAIL PROTECTED]
Sent: 09 November 2005 11:27
To: php-general@lists.php.net
Subject: Re: [PHP] PHP Search Engine


Richard Lynch wrote:
 On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote:

Has anyone on here created a search engine in PHP?


 Sure, of sorts, now and again, here and there, to some degree.


 I am reasonably certain that if you Googled for:
 PHP web spider framework
 you would find several packages that would have at least 99% of what
 you need...  Because these simply have to exist out there.


 From you description it seems like writing search engine (full text) is
simple task for three or four nights. It's not true.

Writing quality full text search engine is very complex task and you can
stuck at lots of problems. If you don't understand the theory of text
searching, you can finish it somehow, but it will not search the way
people are used to. The results will be wrong.

You think there have to be something written in PHP. There is not. Lots
of dead experiments - yes. Something good, working and in active
developement - no. There is even not much open source search engines
written in other languages. You just cannot stick to PHP - but it
doesn't matter in which language is the spider. You need only some
interface to the search part.

Here's my list:

mysql fulltext - toy for children
phpdig - lots of little problems here and there, unusable
htdig - dead, buggy
swish-e - dead?
swish++ - one man show?
aspseek - dead
mnogosearch - try it, it's not google, but usable, php interface
lucene - top quality, best query syntax
egothor - people says it's usable

did I forgot something good?

Petr

--

It sounds like this is specifically for html pages, or am I assuming wrong?
Do any of these or other search engines index html content held in a MySQL
database?

Arno

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Search Engine

2005-11-09 Thread Petr Smith

It sounds like this is specifically for html pages, or am I assuming wrong?
Do any of these or other search engines index html content held in a MySQL
database?

Arno


It depends.. Some products are based around web spider (mnogosearch), 
some are only engines without spider part (lucene).


There are ways to add web spider to engine (nutch for lucene) or use 
only engine part of web spider (you can always generate local content 
[file structure] from database, it's not very clever but it works).


So the answer is yes, you can always index MySQL content somehow.

Petr

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP Search Engine

2005-11-08 Thread Leonard Burton
HI All,

Has anyone on here created a search engine in PHP?

I have project to create a search engine that will search about 50K or
so pages of information on 100 or so various domain names.

What have you all done in the past?  PHPdig was a failure.

Do you recommend any of the ones that are for sale?

Thanks,

--
Leonard Burton, N9URK
[EMAIL PROTECTED]


The prolonged evacuation would have dramatically affected the
survivability of the occupants.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Search Engine

2005-11-08 Thread Philip Hallstrom

HI All,

Has anyone on here created a search engine in PHP?

I have project to create a search engine that will search about 50K or
so pages of information on 100 or so various domain names.

What have you all done in the past?  PHPdig was a failure.

Do you recommend any of the ones that are for sale?


http://www.php.net/manual/en/ref.mnogosearch.php

don't know much about it though...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Search Engine

2005-11-08 Thread Richard Lynch
On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote:
 Has anyone on here created a search engine in PHP?

Sure, of sorts, now and again, here and there, to some degree.

Though it was at the lower end of search engine, possible devolving to
web-scraping, when you get right down to it...

 I have project to create a search engine that will search about 50K or
 so pages of information on 100 or so various domain names.

 What have you all done in the past?

http://php.net/file_get_contents
http://php.net/mysql
http://php.net/strstr
http://php.net/preg_match
and a cron job (several, actually)

How fancy does it need to be?

Are you going to attempt to search all of those in real-time?

Surely not.

You'd be slamming each domain name to the tune of:
50K pages / 100 domain names == 5000 page hits per domain

So you HAVE to rule that out right from the get-go.

Which means you're going to have to cache that many pages
somehow/somewhere.  You know that, right?

Because, basically, you could write a crude simplistic search engine
in a few days with the functions linked above, assuming you are
familiar with most of them, and know MySQL (or other DB) fairly well.

You'd want to queue up links to be indexed, and time/stagger them
based on domain name (actually, probably IP address of domains) so
that you don't visit any site too heavily.

I'd also recommend breaking the process up into several stages:

TASK #1:
1. Choosing a URL to index, based on IP and least-recently-visited
with a minimum time between visits.

2. Just snarf and cache the raw HTML data for that URL, and mark it
done with a time-stamp, so step 1 above won't do it again, and won't
hit the same IP too soon.


TASK #2:
1. Parse one downloaded file and index the interesting words (data,
content, images, whatever) inside it, and store that data in a
format/schema which allows quick search/access of likely queries,
ignoring useless words/data/content (the word the is not worth
indexing, really)

2. Mark that downloaded/cached file done as far as indexing goes.

TASK #3:

1. Search the downloaded file for interesting URLs to be indexed,
and queue them up for TASK #1 to handle later

2. Mark the downloaded/cached file done as far as spidering goes.


TASK #4:
1. Purge downloaded/cached files (or db records or whatever) that have
been marked done by both TASK #2 and #3

You can then set up cron jobs with varying frequency to perform each
TASK as needed.  Possibly even with more resources devoted to TASK #1
during low-bandwidth hours (typically late-night US time, for US-based
sites) but bumping up the cron intervals for TASKS 2/3 in the daytime.

None of this is Rocket Science, really, except indexing the
interesting content, and that is so domain-specific, we can't help
much with that, other than the general principles... MySQL fulltext
indexing would possibly take care of that for you, if you don't really
want to sweat on it too hard for now.

 PHPdig was a failure.

In what way[s] did it fail?

Speed performance?

Caching?

URL equivalence identification?

Identifying embedded links?

Accessing password-protected resources?

JavaScript execution?
(Not that I think any search engine has that, but what do I know?)

Other?

I have no idea what PHPdig does or how it works, but telling us it
failed is not particularly useful, other than to rule it out as a
possible suggestion.

I am reasonably certain that if you Googled for:
PHP web spider framework
you would find several packages that would have at least 99% of what
you need...  Because these simply have to exist out there.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php search engine

2005-09-29 Thread Ross

I am looking to install a php site search on one of my sites. Looking at 
http://www.site-search-pro.com/

has anyoner used this? what do I need to do to get it working? do the files 
reside on my server?

Any alternatives free or paid let me know..

R. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php search engine

2005-09-29 Thread John Nichel

Ross wrote:
I am looking to install a php site search on one of my sites. Looking at 
http://www.site-search-pro.com/


has anyoner used this? what do I need to do to get it working? do the files 
reside on my server?


Any alternatives free or paid let me know..


I'm partial to mnogoSearch

http://search.mnogo.ru/
http://us3.php.net/mnogosearch

It has to be compiled into your PHP, so if you're on shared hosting, it 
may not be an option.


--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[suspicious - maybe spam] [PHP] [suspicious - maybe spam] RE: [PHP] php search engine

2005-09-29 Thread Rob Agar
hi Ross

 Any alternatives free or paid let me know..

http://www.isearchthenet.com/isearch/ is a good 'un, so long as you
don't have thousands of pages.  

R

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP search

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 8:13 pm, Bruce Gilbert said:
 I am fairly new to PHP, and I am looking to create a search
 functionality on a website using php. Can anyone point me to a good
 tutorial that can walk me through this?

Your best bets are:

Use http://google.com and add site:example.com as one of the search
terms.  That restricts Google to ONLY return results from the website
example.com

Use htdig to index your site.

A really really really distant third is to roll your own search engine. 
There are innumerable gothcas to it to start with, and unless you better
define what you want your search engine to do, what features you want it
to support, there isn't much we can do to advise you.

Here's an example:

Frequently, websites have an advanced search and a simple search.

It's usually clear to the beginning programmer that the advanced search
a very complicated bit of interaction between multiple search keys, and
requires a fair amount of complex business logic in the program.

What's often not as clear is that the simple search is often *WORSE* 
It's only simple for the *USER*, not necessarily for your programming. 
If your application has any kind of structure to its data more complex
than an amoeba-like table, then depending on what the user inputs, you
should probably be choosing entirely different fields/values and
algorithms to get your results.  simple search means simple for the
surfer, not for the coding.

YMMV
NAIAA

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP search

2005-06-30 Thread Chris W. Parker
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, June 30, 2005 2:33 PM said:

 There are innumerable gothcas to it to start with, ...

Is that a special kind of goth?

:P


Chris.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP search

2005-06-30 Thread Greg Donald
On 6/30/05, Richard Lynch [EMAIL PROTECTED] wrote:
 Use htdig to index your site.

Here's a nice tutorial on how to wrap ht://Dig results with PHP for
custom layouts and formatting:

http://www.devshed.com/c/a/PHP/Search-This/


-- 
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] PHP search

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 2:36 pm, Chris W. Parker said:
 Richard Lynch mailto:[EMAIL PROTECTED]
 on Thursday, June 30, 2005 2:33 PM said:

 There are innumerable gothcas to it to start with, ...

 Is that a special kind of goth?

Yeah, it's California Goth, also known as Surf Goth.

But sometimes people think it means something entirely differnt from that:
Canadian Goth, eh?

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP search

2005-06-26 Thread Bruce Gilbert
Hello,

I am fairly new to PHP, and I am looking to create a search
functionality on a website using php. Can anyone point me to a good
tutorial that can walk me through this?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php, search engine that index via local filesystem?

2003-08-15 Thread Louie Miranda
Do you know any?


--- -
Thanks,
Louie Miranda





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php, search engine that index via local filesystem?

2003-08-15 Thread [EMAIL PROTECTED]
Hi,

Do you want to provide a web interface to your local file system? well 
the easiest would then be to just exec locate, which will make use of 
the slocate db. Alternatively you can try to exec find. These can be 
done painlessly and you don't have to install any software.

If you need a more sophisticated solution i belive htdig has the 
facility to index from local files.

If you are looking to build a full fledged search engine aspseek and 
mnogosearch (both open source) are some of the best around.

all the best

Louie Miranda wrote:

Do you know any?

--- -
Thanks,
Louie Miranda




 



--

Raditha Dissanayake
-
http://www.radinks.com/sftp/
Lean and mean Secure FTP applet with Graphical User Inteface.
just 150 Kilo Bytes


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] php, search engine that index via local filesystem?

2003-08-15 Thread Ralph Guzman
Might want to take a look at:

http://www.htdig.org/

Using the PHP wrapper class:

http://sourceforge.net/projects/htphp/

-Original Message-
From: Louie Miranda [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 15, 2003 12:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] php, search engine that index via local filesystem?

Do you know any?


--- -
Thanks,
Louie Miranda





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Php Search Engine

2002-11-25 Thread msmecca
I am in need of a search engine. I'd rather do one in PhP. Is there one
available that I can see or at least get the code for?

I'm a newbie to php. :)


Krystal

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Php Search Engine

2002-11-25 Thread Marco Tabini
Can you be a bit more specific as to what you need to search on? Is it a
database, a set of web documents or do you want to create a search
engine like Google, which crawls websites as needed?

Let us know!


Marco
-- 

php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers

Come visit us at http://www.phparch.com!

---BeginMessage---
I am in need of a search engine. I'd rather do one in PhP. Is there one
available that I can see or at least get the code for?

I'm a newbie to php. :)


Krystal

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



---End Message---
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Php Search Engine

2002-11-25 Thread Brad Pauly
On Mon, 2002-11-25 at 08:31, [EMAIL PROTECTED] wrote:
 I am in need of a search engine. I'd rather do one in PhP. Is there one
 available that I can see or at least get the code for?

This article might help. 

http://www.onlamp.com/pub/a/php/2002/10/24/simplesearchengine.html


Brad


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Php search results

2002-11-21 Thread Daniel Masson
Hello everyone ...

Im working on some kind of search engine for two little tables on text
fields on mssql, and the text fields can be very large fields, im doing
the search with SELECT FIELD FROM TABLE WHERE FIELD LIKE '%SOMTHING%' ..
My question is: 

When displaying the search results i dont want to display the entire
field, only the specific parts where the keyword was found , and bold
for the keyword and i just dony know  how to to do that, i mean
displaying the keyword in bold is no problem .. I need to know how to
display only the parts where this keyword is.

Any help will be very helpful

Thanks every1



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP search engines

2002-11-17 Thread Phil Schwarzmann
So I would like to make a search engine for my site.  Can you use PHP to
do this?  Or is another language/application/whatever more appropriate??
If so, can you give me links to where I can find information on this
topic.
 
Thanks!!



Re: [PHP] PHP search engines

2002-11-17 Thread [EMAIL PROTECTED]
Hello!

PS So I would like to make a search engine for my site.  Can you use PHP to
PS do this?  Or is another language/application/whatever more appropriate??
PS If so, can you give me links to where I can find information on this
PS topic.

http://php.net/mnogo
http://mnogosearch.org

=
Heilig (Cece) Szabolcs - [EMAIL PROTECTED] - http://www.phphost.hu
=



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] PHP search engines

2002-11-17 Thread Richard Pijnenburg
I have created my own search engine. It searches in a mysql database,
sins all the text from the site is in the database.

Richard Pijnenburg
Klik-on Internet Solutions


 -Original Message-
 From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, November 17, 2002 11:59 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] PHP search engines
 
 So I would like to make a search engine for my site.  Can you use PHP
to
 do this?  Or is another language/application/whatever more
appropriate??
 If so, can you give me links to where I can find information on this
 topic.
 
 Thanks!!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] PHP search engines

2002-11-17 Thread Khalid El-Kary
hi,

It depends on the data storage system you use, and the more you get deeper 
with it the more you get it more customized for your own site, i mean that 
when you do it with the natural PHP APIs it's better rather than obtaining a 
ready-made search system, however if you want to use a ready-made one check 
ht://Dig(http://www.htdig.org/), it's the one used by PHP.net in the site 
search (whole site search) ... good search :)

khalid



_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP search function for MySQL db

2002-08-22 Thread Kristoffer Strom

I've set up a mysql db to store all news updates at our site and I'm
thinking about setting up a search function so our visitors can search the
news db after specifics words or strings.
Is there somewhere some nice place that have posted a
change-some-variables-then-its-ready-to-go PHP file some where ? Or do I
have to start all from scratch ?

/Kris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP Search Engine?

2002-03-23 Thread lmlweb

Hello,

I've picked up a book called the PHP Developer's Cookbook, specifically
for the search engine that was featured in it. It required the use of
PEAR's File/Find.php, which my host hasn't installed, ..and very likely
will not.

Is there another way of coming up with a search engine in PHP that
doesn't require the use of subscription services?

Laurie M. Landry
http://www.lmlweb.com
voicemail/fax: (604) 693-1120



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP Search Engine?

2002-03-23 Thread Rasmus Lerdorf

So just put that file in your own directory and use it from there.  It is
just a PHP script.

On Sat, 23 Mar 2002, lmlweb wrote:

 Hello,

 I've picked up a book called the PHP Developer's Cookbook, specifically
 for the search engine that was featured in it. It required the use of
 PEAR's File/Find.php, which my host hasn't installed, ..and very likely
 will not.

 Is there another way of coming up with a search engine in PHP that
 doesn't require the use of subscription services?

 Laurie M. Landry
 http://www.lmlweb.com
 voicemail/fax: (604) 693-1120



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] PHP Search Engine?

2002-03-23 Thread lmlweb

I don't think my server even has PEAR installed, so even if I just put
the script on my own directory, it still needs the PEAR.php - will I
need to do that too?

 -Original Message-
 From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] 
 Sent: Saturday, March 23, 2002 1:56 PM
 To: lmlweb
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] PHP Search Engine?
 
 
 So just put that file in your own directory and use it from 
 there.  It is just a PHP script.
 
 On Sat, 23 Mar 2002, lmlweb wrote:
 
  Hello,
 
  I've picked up a book called the PHP Developer's Cookbook, 
  specifically for the search engine that was featured in it. It 
  required the use of PEAR's File/Find.php, which my host hasn't 
  installed, ..and very likely will not.
 
  Is there another way of coming up with a search engine in PHP that 
  doesn't require the use of subscription services?
 
  Laurie M. Landry
  http://www.lmlweb.com
  voicemail/fax: (604) 693-1120
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] PHP Search Engine?

2002-03-23 Thread lmlweb

My correction - there is a Pear, and it was just a matter of finding the
location
(/root/php-4.1.2/pear/File/Find.php) - so I tried to use the full path -
owrked, but then the Find.php required the PEAR.php, which was one
level. So what I've done so far is to put the Find.php in my directory,
and then make the path to the PEAR.php in the Find.php.

I don't know if this will work for the search application from the PHP
Dev's Cookbook but so far it seem to be working this way.


 -Original Message-
 From: lmlweb [mailto:[EMAIL PROTECTED]] 
 
 I don't think my server even has PEAR installed, so even if I 
 just put the script on my own directory, it still needs the 
 PEAR.php - will I need to do that too?
 
  -Original Message-
  From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, March 23, 2002 1:56 PM
  Subject: Re: [PHP] PHP Search Engine?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] php search xml-file

2001-04-09 Thread Jan Grafström

Hi!
I have this xml:
list
varacar/vara
bskrford/bskr
price3600/price
nr/nr
/list
-
and this php:
$filename = "list.xml";
$fp = fopen($filename, "r");
$string = fread($fp, filesize($filename));
$string = strip_tags($string);
$refined_string = explode(" ", $string);
if (in_array($needle." ", $refined_string)) {
print "found";
} else {
print "notfound";
}
fclose ($fp);
---
I always get notfound when I set $needle to a word inside the xml-file.
My script doesnt work.
Is it possible also to write a script wich can find the word "ford" if
You only ask for "for"?
I have just started to learn about php search and I am very thankful for
any help.

Regards
Jan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] php search xml-file

2001-04-09 Thread elias

try learning about: XML parser functions

-elias
http://www.kameelah.org/eassoft

"Jan Grafström" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi!
 I have this xml:
 list
 varacar/vara
 bskrford/bskr
 price3600/price
 nr/nr
 /list
 -
 and this php:
 $filename = "list.xml";
 $fp = fopen($filename, "r");
 $string = fread($fp, filesize($filename));
 $string = strip_tags($string);
 $refined_string = explode(" ", $string);
 if (in_array($needle." ", $refined_string)) {
 print "found";
 } else {
 print "notfound";
 }
 fclose ($fp);
 ---
 I always get notfound when I set $needle to a word inside the xml-file.
 My script doesn´t work.
 Is it possible also to write a script wich can find the word "ford" if
 You only ask for "for"?
 I have just started to learn about php search and I am very thankful for
 any help.

 Regards
 Jan


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]