[PHP] php search engine
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
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
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
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
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
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
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
[PHP] Can Anybody telll me more php search engine?
which search engine is dhoondho.com and beeblex.com based on ? any ralation links of dataparksearch engine and mnoGoSearch? -- Sent from the PHP - General forum at Nabble.com: http://www.nabble.com/Can-Anybody-telll-me-more-php-search-engine--t739540.html#a1935937
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Search Engine
-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
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
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
[PHP] Re: PHP Search Engine
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] http://www.xapian.org/ Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Search Engine
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
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
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
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
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
[PHP] Search Engine with MySQL
Greetings all, I just serached the records and found this topic. This nearly answers my question but not completely. I have a search field and a class that I found that will explode queries into an array based on boolean values and such. Which is great so I get all the words a person is searching on and in what way. However I am not clear on the best way to query MySQL. I want to search over four fields in 2 different tables. Based on what I read below there is an easy way to do with with MySQL but I am not familiar with it. Can someone enlighten me on this, it sounds just like what I need. -- Blessed Be Phillip Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This kind of depends on what database you are using (I am asuming you mean you have a data driven site you want to search so strictly speaking it is the database that you want to search). Mysl has free text search facilities (i.e. you can pass it a number of words and it can search for them in a set of database fields and even kreates a 'ranking'). however this only works if you have a few hundread records - less than this and the results are unpredictable. Have you tries googeling for php search scripts? Ben On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search Engine with MySQL
Phillip S. Baker wrote: Greetings all, I just serached the records and found this topic. This nearly answers my question but not completely. I have a search field and a class that I found that will explode queries into an array based on boolean values and such. Which is great so I get all the words a person is searching on and in what way. However I am not clear on the best way to query MySQL. I want to search over four fields in 2 different tables. Based on what I read below there is an easy way to do with with MySQL but I am not familiar with it. Can someone enlighten me on this, it sounds just like what I need. You could... Create a new table which smushes all the fields into one big field, and then has IDs back to the original records, and then use fulltext index on that new table. Use fulltext index on each field separately and sort/merge results in your query. There's no Magic Bullet (that I know of) for MySQL to do it though. -- 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] Search engine
On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? http://www.phpdig.net/ Regards, Jordi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search engine
Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine
This kind of depends on what database you are using (I am asuming you mean you have a data driven site you want to search so strictly speaking it is the database that you want to search). Mysl has free text search facilities (i.e. you can pass it a number of words and it can search for them in a set of database fields and even kreates a 'ranking'). however this only works if you have a few hundread records - less than this and the results are unpredictable. Have you tries googeling for php search scripts? Ben On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine
I try many scripts for searching, but they don't work how I want. The problem is, that part of site is static text ( not in database ) , other part ( products ) are in MySQL database - this part is generating from PHP scripts. Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This kind of depends on what database you are using (I am asuming you mean you have a data driven site you want to search so strictly speaking it is the database that you want to search). Mysl has free text search facilities (i.e. you can pass it a number of words and it can search for them in a set of database fields and even kreates a 'ranking'). however this only works if you have a few hundread records - less than this and the results are unpredictable. Have you tries googeling for php search scripts? Ben On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine
Looks like you will have to write your own. Have a look at the scripts you have and see how they do it. One option is to write the 'static' pages into the database as well as the file system. I personaly put all content into a database and do not really have any static pages atall. Ben On Thu, 20 Jan 2005 14:18:49 +0200, Rosen [EMAIL PROTECTED] wrote: I try many scripts for searching, but they don't work how I want. The problem is, that part of site is static text ( not in database ) , other part ( products ) are in MySQL database - this part is generating from PHP scripts. Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This kind of depends on what database you are using (I am asuming you mean you have a data driven site you want to search so strictly speaking it is the database that you want to search). Mysl has free text search facilities (i.e. you can pass it a number of words and it can search for them in a set of database fields and even kreates a 'ranking'). however this only works if you have a few hundread records - less than this and the results are unpredictable. Have you tries googeling for php search scripts? Ben On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine
But here the problem is, that the texts in database uses from different scripts and on the search engine I should show and link to the sctipt, thath shows searched data. My idea was for search script, who explore the whole site (as generated from PHP scripts - via links ). Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looks like you will have to write your own. Have a look at the scripts you have and see how they do it. One option is to write the 'static' pages into the database as well as the file system. I personaly put all content into a database and do not really have any static pages atall. Ben On Thu, 20 Jan 2005 14:18:49 +0200, Rosen [EMAIL PROTECTED] wrote: I try many scripts for searching, but they don't work how I want. The problem is, that part of site is static text ( not in database ) , other part ( products ) are in MySQL database - this part is generating from PHP scripts. Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This kind of depends on what database you are using (I am asuming you mean you have a data driven site you want to search so strictly speaking it is the database that you want to search). Mysl has free text search facilities (i.e. you can pass it a number of words and it can search for them in a set of database fields and even kreates a 'ranking'). however this only works if you have a few hundread records - less than this and the results are unpredictable. Have you tries googeling for php search scripts? Ben On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine
Why not use PHP to create static pages from your dynamic info (say 5 minutes after the data is update?) and allow for the system to search the site then? I have noticed that I don't even have to do that for the search spiders from Google and yahoo to trawl my site and get everything, so maybe looking for code to curl through would be good? Robert Rosen is quoted as saying on 1/20/2005 7:48 AM: But here the problem is, that the texts in database uses from different scripts and on the search engine I should show and link to the sctipt, thath shows searched data. My idea was for search script, who explore the whole site (as generated from PHP scripts - via links ). Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looks like you will have to write your own. Have a look at the scripts you have and see how they do it. One option is to write the 'static' pages into the database as well as the file system. I personaly put all content into a database and do not really have any static pages atall. Ben On Thu, 20 Jan 2005 14:18:49 +0200, Rosen [EMAIL PROTECTED] wrote: I try many scripts for searching, but they don't work how I want. The problem is, that part of site is static text ( not in database ) , other part ( products ) are in MySQL database - this part is generating from PHP scripts. Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This kind of depends on what database you are using (I am asuming you mean you have a data driven site you want to search so strictly speaking it is the database that you want to search). Mysl has free text search facilities (i.e. you can pass it a number of words and it can search for them in a set of database fields and even kreates a 'ranking'). however this only works if you have a few hundread records - less than this and the results are unpredictable. Have you tries googeling for php search scripts? Ben On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search indexing.. Re: [PHP] Search engine
Just out of curiosity.. relating to this subject.. does anyone have any good documentation on creating your own site index so you can create your own search engine? That is.. do search engines like Google take every word in a web page and if you search for that specific word it has a list of all URLs whose pages contain that word? I mean, what is the general theory behind creating a searchable index as opposed to just storing all your web pages in a database and using SQL to find the pages? If you indexed the pages you could then do a sort by relevance (which you really can't do with just doing a 'LIKE' SQL query on your raw content). I know this isn't strictly PHP related, but if someone hasn't done a basic indexing search engine in PHP, then it's time someone did I think. :) -TG = = = Original message = = = Why not use PHP to create static pages from your dynamic info (say 5 minutes after the data is update?) and allow for the system to search the site then? I have noticed that I don't even have to do that for the search spiders from Google and yahoo to trawl my site and get everything, so maybe looking for code to curl through would be good? Robert Rosen is quoted as saying on 1/20/2005 7:48 AM: But here the problem is, that the texts in database uses from different scripts and on the search engine I should show and link to the sctipt, thath shows searched data. My idea was for search script, who explore the whole site (as generated from PHP scripts - via links ). Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Looks like you will have to write your own. Have a look at the scripts you have and see how they do it. One option is to write the 'static' pages into the database as well as the file system. I personaly put all content into a database and do not really have any static pages atall. Ben On Thu, 20 Jan 2005 14:18:49 +0200, Rosen [EMAIL PROTECTED] wrote: I try many scripts for searching, but they don't work how I want. The problem is, that part of site is static text ( not in database ) , other part ( products ) are in MySQL database - this part is generating from PHP scripts. Ben Edwards [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This kind of depends on what database you are using (I am asuming you mean you have a data driven site you want to search so strictly speaking it is the database that you want to search). Mysl has free text search facilities (i.e. you can pass it a number of words and it can search for them in a set of database fields and even kreates a 'ranking'). however this only works if you have a few hundread records - less than this and the results are unpredictable. Have you tries googeling for php search scripts? Ben On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Hi, Can someone recommend me a search engine script in PHP for inside one site? Thanks in advance! Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine
On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote: Can someone recommend me a search engine script in PHP for inside one site? Use HTDig. Here's a tutorial on how to use it and how to write a PHP wrapper around the result set for total customization of the display results: http://www.devshed.com/c/a/PHP/Search-This/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search indexing.. Re: [PHP] Search engine
On Thu, 20 Jan 2005 8:16:28 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just out of curiosity.. relating to this subject.. does anyone have any good documentation on creating your own site index so you can create your own search engine? http://www.devshed.com/c/a/PHP/Search-This/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search Engine Friendly URLs
On Fri, 14 Jan 2005 13:46:54 -0500, Josh [EMAIL PROTECTED] wrote: I am converting a site to use includes instead of a Dreamweaver template. I want the URLs to look like this: www.my-site1234.com/contact instead of www.my-site1234.com/default.php?p=contact. I found some tutorials on editing the .htaccess file but where do I find it on the server? The .htaccess file is created in the web directory where your .php files are. It affects all directories from there down. Looks like you may want something like this: RewriteEngine on RewriteRule ^([A-Za-z].*) default.php?p=$1 [L,qsappend] You might also want RewriteRule ^$ default.php?p=index [L,qsappend] for a catch-all bounce to the homepage. http://httpd.apache.org/docs/mod/mod_rewrite.html -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search Engine Friendly URLs
I am converting a site to use includes instead of a Dreamweaver template. I want the URLs to look like this: www.my-site1234.com/contact instead of www.my-site1234.com/default.php?p=contact. I found some tutorials on editing the .htaccess file but where do I find it on the server? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search Engine Friendly URLs
On Fri, 2005-01-14 at 13:46 -0500, Josh wrote: I am converting a site to use includes instead of a Dreamweaver template. I want the URLs to look like this: www.my-site1234.com/contact instead of www.my-site1234.com/default.php?p=contact. I found some tutorials on editing the .htaccess file but where do I find it on the server? You need to create the file in the root directory of your website. Example: if your website is located in /home/web/foo/public_html/ then you need to create the file: /home/web/foo/public_html/.htaccess You also need to make some adjustments to Apache to allow you to do this. -Robby -- /*** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | [EMAIL PROTECTED] * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting Development *--- Now supporting PHP5 --- / -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine : build a new one or use an alreadry existing one ?
On Sun, 7 Nov 2004 19:10:32 -0400, robert mena [EMAIL PROTECTED] wrote: I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? I recently put together a large company intranet site search using htdig and a simple php wrapper script: http://www.devshed.com/c/a/PHP/Search-This/ http://www.htdig.org/ This setup allows me a great deal of graphical customization in the results display while putting all the real work with search results and search logic on htdig. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine : build a new one or use an alreadry existing one ?
Greg Donald wrote: I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? I recently put together a large company intranet site search using htdig and a simple php wrapper script: http://www.devshed.com/c/a/PHP/Search-This/ http://www.htdig.org/ I've used the Zoom search engine by Wrensoft http://www.wrensoft.com/zoom/ with PHP on a Windows system, and it worked well. Also, I've never used it, but I've heard that mnoGoSearch works, well, too. -- Ben Ramsey Zend Certified Engineer http://benramsey.com --- Atlanta PHP - http://www.atlphp.org/ The Southeast's premier PHP community. --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search engine : build a new one or use an alreadry existing one ?
Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx from where field like ' and show the results. Even tough it works I'd like to improve it, showing the results by relevance, proper hadling mispelled words, performing the serach not only in the product's name etc. I've tried mnogosearch but I am not sure that I'll be able to manipulate the query results in order to show only results in the product section (not the entire site). Regards, rt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine : build a new one or use an alreadry existing one ?
* Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx from where field like ' and show the results. Even tough it works I'd like to improve it, showing the results by relevance, proper hadling mispelled words, performing the serach not only in the product's name etc. If your using mysql, look at the match()/full text index functionality it provides. This can be a usesfull feature. Curt -- Quoth the Raven, Nevermore. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine : build a new one or use an alreadry existing one ?
Curt Zirzow wrote: * Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx from where field like ' and show the results. Even tough it works I'd like to improve it, showing the results by relevance, proper hadling mispelled words, performing the serach not only in the product's name etc. If your using mysql, look at the match()/full text index functionality it provides. This can be a usesfull feature. Curt If you have access to install things on your server I would consider using Swish-E, i'm using it on www.question.com and it's working great, and it has a php interface. http://www.swish-e.org/ Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine : build a new one or use an alreadry existing one ?
Hi Can I use them (swish-e HtDig) for unicode scripts? Sadeq On Mon, 08 Nov 2004 13:49:32 +1300, Noodles [EMAIL PROTECTED] wrote: Curt Zirzow wrote: * Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx from where field like ' and show the results. Even tough it works I'd like to improve it, showing the results by relevance, proper hadling mispelled words, performing the serach not only in the product's name etc. If your using mysql, look at the match()/full text index functionality it provides. This can be a usesfull feature. Curt If you have access to install things on your server I would consider using Swish-E, i'm using it on www.question.com and it's working great, and it has a php interface. http://www.swish-e.org/ Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- - Yazd, 8917954894 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Search engine : build a new one or use an alreadry existing one ?
I believe swish-e does Unicode, but I'm not 100% sure Nick -Original Message- From: Sadeq Naqashzade [mailto:[EMAIL PROTECTED] Sent: Monday, 8 November 2004 2:57 p.m. To: Noodles Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Search engine : build a new one or use an alreadry existing one ? Hi Can I use them (swish-e HtDig) for unicode scripts? Sadeq On Mon, 08 Nov 2004 13:49:32 +1300, Noodles [EMAIL PROTECTED] wrote: Curt Zirzow wrote: * Thus wrote robert mena: Hi, I need to improve my current search mecanism but got stuck in a dilema : build one or use an existing engine? My site, that uses php/smarty allows my users to browse products in a category listing or search. Currently my search only performs a 'select xxx from where field like ' and show the results. Even tough it works I'd like to improve it, showing the results by relevance, proper hadling mispelled words, performing the serach not only in the product's name etc. If your using mysql, look at the match()/full text index functionality it provides. This can be a usesfull feature. Curt If you have access to install things on your server I would consider using Swish-E, i'm using it on www.question.com and it's working great, and it has a php interface. http://www.swish-e.org/ Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- - Yazd, 8917954894 -- 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] Search engine for my unicode site
Hi, What search engine script you recommend to use for my Unicode web site (English/Persian/Arabic at least) ?. It must able crawel my html files too. and I prefer to able index my database driven pages too. - Sadeq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] search engine optimization and php
Just curious as to how people handle search engine optimization when most of the page content is dynically built from the db. Doesn't the bots need to crawl the static pages and match your keywords to actual words in the file? Also, is it not a good idea to put all your meta keywords into a header.inc.php script that is then pulled into each page when it is loaded? Thanks, Eddie WARNING: The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed. This message may contain information that is privileged, confidential and exempt from disclosure under applicable law. It may also contain trade secrets and other proprietary information for which you and your employer may be held liable for disclosing. You are hereby notified that any unauthorized dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify [EMAIL PROTECTED] by E-Mail and then destroy this communication in a manner appropriate for privileged information. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] search engine optimization and php
Hi Edward, A few things first: 1) Match keyword to actual words in the file: Not sure what you are talking about but if you are referring to Meta tag keyword data... this has been primarily outdated for several years now. Do SE's read meta data? Yes and no, but rest assured if you are trying to make it into top page indexes, meta data will do nothing to help bolster your rank. It's generally considered useless. 2) Doesn't the bots need to crawl the static pages: Bots can crawl dynamic pages with query strings in the URL. However, how deep they spider is still in question. If you can create static looking pages from dynamic content with URL re-writing you're much better off. Example: after a client came to me to help with their search engine marketing, we discovered only 200 of their 1500 products were being indexed. With url-writing we were able to get all 1500 into Google and Google continually spiders on a daily basis. 3) If you are concerned about search engine optimization for yourself, or a client, you need to either A) learn the ins and outs yourself (a lot of time and research) or work with a consultant to help you optimize code, pages, copy, links, etc. Good luck. Aaron -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: June 8, 2004 10:20 AM To: Php-General Subject: [PHP] search engine optimization and php Just curious as to how people handle search engine optimization when most of the page content is dynically built from the db. Doesn't the bots need to crawl the static pages and match your keywords to actual words in the file? Also, is it not a good idea to put all your meta keywords into a header.inc.php script that is then pulled into each page when it is loaded? Thanks, Eddie WARNING: The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed. This message may contain information that is privileged, confidential and exempt from disclosure under applicable law. It may also contain trade secrets and other proprietary information for which you and your employer may be held liable for disclosing. You are hereby notified that any unauthorized dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify [EMAIL PROTECTED] by E-Mail and then destroy this communication in a manner appropriate for privileged information. -- 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] search engine optimization and php
Edward Peloke wrote: Just curious as to how people handle search engine optimization when most of the page content is dynically built from the db. Doesn't the bots need to crawl the static pages and match your keywords to actual words in the file? All pages are static once you load them, the letters are not moving around ;-) Also, is it not a good idea to put all your meta keywords into a header.inc.php script that is then pulled into each page when it is loaded? Does not hurt. Even better, use meta keyword and description based on the main content of the page. -- 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?
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?
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?
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] Search Engine
Hi, Does anyone know any free search engine for web application imee
RE: [PHP] Search Engine
[snip] Does anyone know any free search engine for web application [/snip] Google for web application? It's free. Oh, I get it! Google for free search engine for web application. HTH! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
FW: [PHP] Search Engine
Hi, http://www.conceptx.co.uk/rpgproducts/index.php?pid=1 I made this some time ago, it could do with some work (if I remember rightly, it doesn't cut off after X amount of results, what can I say I'm lazy) id does order by relevance but requires indexing after changes. On 2/8/03 12:14 am, imran [EMAIL PROTECTED] wrote: Hi, Does anyone know any free search engine for web application imee Ryan Gibson --- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search Engine
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]): Google for free search engine for web application. I always find it hard to search for the term 'free'. I'd like to see the day when you can do this in google: free search engine for web application -ignore_stupid_sites cheers, Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Search Engine
Check out: http://www.htdig.org/ -Original Message- From: imran [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 4:14 PM To: [EMAIL PROTECTED] Subject: [PHP] Search Engine Hi, Does anyone know any free search engine for web application imee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SEARCH ENGINE
Hi folks First, thanks to Jim for the greeat tree-menu, we are just editing it. Ok, we are doing the tutorial for the Intranet of our University. There is just a lot of information and we want to give the user all the ways to find the information he's looking for. Hence, we need a great search engine too. We have all our information stored in a MYSQL database. We need a search engine to look for the keywords we have in our tables and that show the related results. Anyone knows a good search engine -free- for this treat? thanks David. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] SEARCH ENGINE
[snip] First, thanks to Jim for the greeat tree-menu, we are just editing it. Ok, we are doing the tutorial for the Intranet of our University. There is just a lot of information and we want to give the user all the ways to find the information he's looking for. Hence, we need a great search engine too. We have all our information stored in a MYSQL database. We need a search engine to look for the keywords we have in our tables and that show the related results. Anyone knows a good search engine -free- for this treat? [/snip] Yes, and you already own it! It is called a full text search ... http://www.mysql.com/doc/en/Fulltext_Search.html HTH! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] SEARCH ENGINE
On Jun 26, 2003, David Elìas Sánchez Vásquez claimed that: | |Hi folks | |First, thanks to Jim for the greeat tree-menu, we are just editing it. |Ok, we are doing the tutorial for the Intranet of our University. There is |just a lot of information and we want to give the user all the ways to find |the information he's looking for. Hence, we need a great search engine too. | |We have all our information stored in a MYSQL database. We need a search |engine to look for the keywords we have in our tables and that show the |related results. Anyone knows a good search engine -free- for this treat? | |thanks | |David. | http://www.phpbuilder.com/columns/clay19990421.php3?print_mode=1 -- Registered Linux user #304026. lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search Engine
Hi, I'm trying to find a script (PHP,Perl, Whatever) that will search through a bunch text files, ignore certain keywords, and then generate a text file with the line that each one is on, and what the words were. Thanks, -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search engine
Dose any one have any tips on making a very simple search engine, that only searches in two fields of a mysql table. I just need some pointers to know where to begin. Thanks, David
RE: [PHP] Search engine
Check out : http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1047 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=3570 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=3094 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1340 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 8:56 PM To: [EMAIL PROTECTED] Subject: [PHP] Search engine Dose any one have any tips on making a very simple search engine, that only searches in two fields of a mysql table. I just need some pointers to know where to begin. Thanks, David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search engine PHP
Hello, Can somebody direct me to a documentation source, about creating small database search engines with PHP? Thank you in advance, Andrian Ivanov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Php Search Engine
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
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
[PHP] Re: Php Search Engine
hotscripts.com [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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
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] Search engine simulation...
I'm making a php database application. The database tables have many rows and in a webpage i have to display a big number of that rows, but the browser display the information so slow or the browser chash. So i was thinking to make a search engine simulation or webmail simulation, that display the rows from 10 x 10 (rows) or N x N. I was thinking to add a new correlative column to the database table, and use it, but in this case, i have to display the rows in the add order. I want to display the rows in alphabetic or other order. I have 2 versions of the application, in oracle and mysql. In the oracle version i find a solution with a query, buy only run in oracle 8i because older version don't have some features i used. I tried to put all the data in a php array and display n x n, but i don't know how efficiently it is. Do you know a query solution (oracle or mysql) or a php efficiently solution for this problem? Thanks, RB _ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine simulation...
You should be able to sort records and limit the output with MySQL... -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! ---BeginMessage--- I'm making a php database application. The database tables have many rows and in a webpage i have to display a big number of that rows, but the browser display the information so slow or the browser chash. So i was thinking to make a search engine simulation or webmail simulation, that display the rows from 10 x 10 (rows) or N x N. I was thinking to add a new correlative column to the database table, and use it, but in this case, i have to display the rows in the add order. I want to display the rows in alphabetic or other order. I have 2 versions of the application, in oracle and mysql. In the oracle version i find a solution with a query, buy only run in oracle 8i because older version don't have some features i used. I tried to put all the data in a php array and display n x n, but i don't know how efficiently it is. Do you know a query solution (oracle or mysql) or a php efficiently solution for this problem? Thanks, RB _ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx -- 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] Search engine simulation...
I was thinking in limit for mysql. But my question is how to make all the process. When you click the number 5 for example in the bottom numbers, how to knows the rows to display, etc... From: Marco Tabini [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] CC: PHP-General [EMAIL PROTECTED] Subject: Re: [PHP] Search engine simulation... Date: 08 Nov 2002 13:09:57 -0500 You should be able to sort records and limit the output with MySQL... -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! message3.txt _ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine simulation...
Excellent information for the mysql version. I was thinking to use the limit function because i'm in the develop process of the mysql version. Someone have an idea for the oracle version? I tried to use the oracle's numrow, but oracle create this number before the order by command... Maybe a php solution is the best, because is compatible with both versions. Thanks, Rodolfo From: Rodolfo Gonzalez [EMAIL PROTECTED] To: R B [EMAIL PROTECTED] Subject: Re: [PHP] Search engine simulation... Date: Fri, 8 Nov 2002 12:31:19 -0600 (CST) On Fri, 8 Nov 2002, R B wrote: Do you know a query solution (oracle or mysql) or a php efficiently solution for this problem? Sure, I think you need SQL's LIMIT x,n to display N rows per page, starting from the rom X. Is that what you need, isn't it?. There are quite a few scripts for this in hotscripts.com, for example, and you can take them as a reference on how to do that. _ MSN. Más Útil Cada Día http://www.msn.es/intmap/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search Engine
Whats wrong with this code? ? $arrSearch = explode( , $_REQUEST['string']); $RSQuery = SELECT * FROM referenzen_tbl; if (strlen($arrSearch) 0) { // Überhaupt einschränken? $Query .= WHERE (; $Query .= referenzen_tbl.kat LIKE '% . $arrSearch[0] . %'; $Query .= OR referenzen_tbl.head LIKE '% . $arrSearch[0] . %'; $Query .= OR referenzen_tbl.text LIKE '% . $arrSearch[0] . %'; $Query .= OR referenzen_tbl.technik LIKE '% . $arrSearch[0] . %'; $Query .= OR referenzen_tbl.year LIKE '% . $arrSearch[0] . %'); // mehrere Suchwörter sind UND-Verknüpft for($i = 1; $i count($arrSearch); $i++) { $Query .= AND (; $Query .= referenzen_tbl.kat LIKE '% . $arrSearch[$i] . %'; $Query .= OR referenzen_tbl.head LIKE '% . $arrSearch[$i] . %'; $Query .= OR referenzen_tbl.text LIKE '% . $arrSearch[$i] . %'; $Query .= OR referenzen_tbl.technik LIKE '% . $arrSearch[$i] . %'; $Query .= OR referenzen_tbl.year LIKE '% . $arrSearch[$i] . %'); } } $Result = mysql_query($Query, $connect); if (mysql_fetch_row($Result)0) { echo Es wurden keinen Beitrauml;ge zu b.$_REQUEST['string']./b; } else { echo Die Suche war erfolgreich!; while ($arrResult = mysql_fetch_array($Result, MYSQL_ASSOC)) { echo 'p class=text01'; echo $arrResult['referenzen_tbl.kat'].br; echo $arrResult['referenzen_tbl.head'].br; echo $arrResult['referenzen_tbl.text'].br; echo $arrResult['referenzen_tbl.technik'].br; echo $arrResult['referenzen_tbl.year'].br; echo '/p'; } } ? I know that there is a result comming out of the string i entered, but these failure messages are comming up when i load the page: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\Webverzeichnis\docs\schuraWeb\includes\result.inc.php on line 40 Die Suche war erfolgreich! Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Webverzeichnis\docs\schuraWeb\includes\result.inc.php on line 44 This is my global inc from where the $connect comes: ? $host = 'localhost'; // SQL Server zu dem eine Verbindung aufgebaut werden soll. $user = 'root'; // Name des SQL Benutzers $pass = 'none'; // Kennwort des SQL Benutzers $dbase = 'weitsicht'; // Datenbank // Verbindung zum SQL Server wird hergestellt $connect = mysql_connect($host, $user, $pass) or die(Fehler beim Öffnen der DB auf $host User: $user Kennwort: $pass); // Datenbank wird ausgewählt $Query = USE .$dbase; $selectDB = mysql_query($Query, $connect) or die(Konnte Datenbank aus folgenden Gründen nicht auswählen: . mysql_error()); ? Please Help! Schura
[PHP] Search Engine
Excuse me, this is line 40 in the script... if (mysql_fetch_row($Result)0) { ... and this is line 44... while ($arrResult = mysql_fetch_array($Result, MYSQL_ASSOC)) {
[PHP] Search Engine Friend Dynamic Pages
Hey all, Just a quick question regarding developing search engine friendly pages. Basically I am re-writing my site so that say mysite.com? page=supportaction=help becomes mysite.com/support/help/ Reason why is it looks nicer and is search engine friendly, as some search engines cannot spider URLS with query strings. Anyhow my preferable method of achiving this is having all pages raise a 404 error, which then loads my custom 404 page which shall output a 200 ok header and load the appropiate content. I have heard somewhere though, that despite overwriting the 404 header, search engines wont index the page because they think it does not exist... is this the case? If so I shall use another method, such as one where I crop the *.php extension off my files and force apache to interpret them as mime type php. Thanks for your time everyone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search Engine Friend Dynamic Pages
On Thu, 6 Jun 2002, Scott Reismanis wrote: Just a quick question regarding developing search engine friendly pages. Basically I am re-writing my site so that say mysite.com? page=supportaction=help becomes mysite.com/support/help/ Reason why is it looks nicer and is search engine friendly, as some search engines cannot spider URLS with query strings. Anyhow my preferable method of achiving this is having all pages raise a 404 error, which then loads my custom 404 page which shall output a 200 ok header and load the appropiate content. I have heard somewhere though, that despite overwriting the 404 header, search engines wont index the page because they think it does not exist... is this the case? If so I shall use another method, such as one where I crop the *.php extension off my files and force apache to interpret them as mime type php. Look at the headers you're sending out. If there's no 404, then the search engine has no possible way of knowing how you handled it on the back end. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search Engine Friend Dynamic Pages
Scott Reismanis wrote: Just a quick question regarding developing search engine friendly pages. Basically I am re-writing my site so that say mysite.com? page=supportaction=help becomes mysite.com/support/help/ Reason why is it looks nicer and is search engine friendly, as some search engines cannot spider URLS with query strings. Ye might want to read: Building Dynamic Pages With Search Engines in Mind http://www.phpbuilder.net/columns/tim19990117.php3 and: Revisited: Build Dynamic Pages With Search Engines in Mind http://www.phpbuilder.net/columns/tim2526.php3 -- H | Life is the art of drawing without an eraser. - John Gardner + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search Engine Friend Dynamic Pages
Thanks for the feedback, once again timly and right on the money :) What you mention is what I thought, I just had doubts which I wished to clarify. - Original Message - From: Ashley M. Kirchner [EMAIL PROTECTED] Date: Thursday, June 6, 2002 2:46 pm Subject: Re: [PHP] Search Engine Friend Dynamic Pages Scott Reismanis wrote: Just a quick question regarding developing search engine friendly pages. Basically I am re-writing my site so that say mysite.com? page=supportaction=help becomes mysite.com/support/help/ Reason why is it looks nicer and is search engine friendly, as some search engines cannot spider URLS with query strings. Ye might want to read: Building Dynamic Pages With Search Engines in Mind http://www.phpbuilder.net/columns/tim19990117.php3 and: Revisited: Build Dynamic Pages With Search Engines in Mind http://www.phpbuilder.net/columns/tim2526.php3 -- H | Life is the art of drawing without an eraser. - John Gardner + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 Director of Internet Operations / SysAdmin. 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] search engine indexing and redirects
Hi all, firstly: i know nowt about search engines/crawlers spiders really. i'm giving users fake sub-domains i.e www.username.mysite.com gets redirected to www.mysite.com/users/sites/username via mod_rewrite/wildcard dns so i'm wondering if search engines will have any trouble indexing those sites. i was talking to an 'internet consultant' who has a flash red sports car and earns about 5 times more than me and he said i should look into this. i would have thought that server-side redirects are no problem for crawlers. i set up a google adwords thingy for one of the sites and it worked for a while but now they've come back to me saying the url doesn't work when it clearly does.i've asked the google folks about this and am waiting for them to get back. was just wondering if anyone had experience of this sort of thing. thanks adrian
Re: [PHP] Search Engine With Boolean Support --Please help
This is a bit of a tricky one, as a search engine isn't just some 10 line code you can quickly type and expect to work. It'd be quite complex, because you have to run several queries for each of the boolean types, and you also have to account somehow for case-sensitivity. I'm currently working on a search engine to incorporate into my Content Management System (more info at http://www.inspirationstudios.co.uk/dot/cms) that incorporates all your requirements so I'll get back to you with some more coding info once I've worked on it there. Spamsucks86 [EMAIL PROTECTED] wrote in message 01c1f924$1b35bcd0$ea553944@cc1966780a">news:01c1f924$1b35bcd0$ea553944@cc1966780a... I don't want to use a module though. I just want to take what a person types and parse it so I can put it into a mysql query and search my database of data. I share the server and I can't get mnoGoSearch compiled in with PHP, so unless there's PHP code I can borrow from it, I don't think it will help me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Search Engine With Boolean Support --Please help
Well, a search engine is not a trivial proposition. If you just have a few hundred records without huge amounts of text, you can build SQL queries and it's no big deal. But if you expect it to scale, you need to turn the problem upside down and index the words. This means you build a table of words and a table that cross-references the word table to your text by saying which word appears at which position in which item. Every time you insert text, you update these other two tables accordingly. Then you can easily query against them to find any combination of words without waiting for it to crawl through all the text in your database. I don't know whether there's available PHP code, but it's a well-understood problem that has been solved countless times before, so you should be able to find a book that breaks it down into pseudocode you can rewrite as PHP. Or maybe you'll find something pre-made. How useful that will be depends on how peculiar your requirements are. miguel On Sat, 11 May 2002, SpamSucks86 wrote: I don't want to use a module though. I just want to take what a person types and parse it so I can put it into a mysql query and search my database of data. I share the server and I can't get mnoGoSearch compiled in with PHP, so unless there's PHP code I can borrow from it, I don't think it will help me. -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 11, 2002 2:23 PM To: SpamSucks86 Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Search Engine With Boolean Support --Please help On Sat, 11 May 2002, SpamSucks86 wrote: I need to have an internal search engine for my site. It needs to support Boolean (not, or, and). Are there any fairly simple scripts out there that will help me with this? Even if it's just to give me an idea of where to start. I'm using mySQL, and Boolean support isn't implemented until v4.0. Thanks for any and all help! =) Have a look at http://mnogosearch.ru/ and the accompanying functions in the PHP manual. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search Engine With Boolean Support --Please help
I need to have an internal search engine for my site. It needs to support Boolean (not, or, and). Are there any fairly simple scripts out there that will help me with this? Even if it's just to give me an idea of where to start. I'm using mySQL, and Boolean support isn't implemented until v4.0. Thanks for any and all help! =)
Re: [PHP] Search Engine With Boolean Support --Please help
On Sat, 11 May 2002, SpamSucks86 wrote: I need to have an internal search engine for my site. It needs to support Boolean (not, or, and). Are there any fairly simple scripts out there that will help me with this? Even if it's just to give me an idea of where to start. I'm using mySQL, and Boolean support isn't implemented until v4.0. Thanks for any and all help! =) Have a look at http://mnogosearch.ru/ and the accompanying functions in the PHP manual. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Search Engine With Boolean Support --Please help
I don't want to use a module though. I just want to take what a person types and parse it so I can put it into a mysql query and search my database of data. I share the server and I can't get mnoGoSearch compiled in with PHP, so unless there's PHP code I can borrow from it, I don't think it will help me. -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 11, 2002 2:23 PM To: SpamSucks86 Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Search Engine With Boolean Support --Please help On Sat, 11 May 2002, SpamSucks86 wrote: I need to have an internal search engine for my site. It needs to support Boolean (not, or, and). Are there any fairly simple scripts out there that will help me with this? Even if it's just to give me an idea of where to start. I'm using mySQL, and Boolean support isn't implemented until v4.0. Thanks for any and all help! =) Have a look at http://mnogosearch.ru/ and the accompanying functions in the PHP manual. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Search engine indexing
Are PHP files indexed the same way as plain HTML files by search engines? -- Charl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Search engine indexing
yup On Tue, 30 Apr 2002, Charl wrote: Are PHP files indexed the same way as plain HTML files by search engines? -- Charl -- 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] Search engine indexing
On Tue, 30 Apr 2002, Charl wrote: Are PHP files indexed the same way as plain HTML files by search engines? Search engines don't know or care how pages were generated (PHP, ASP, Perl, telekinesis, cosmic rays, etc.). They'll slurp up anything with HTML or text on it. Some will read PDFs and other types as well. A few won't index pages with GET arguments (?this=thattheotherthing=whatever) on them, but they're in the minority. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Search engine indexing
Most will index a plain PHP page just like an .html page. If there is a query string in the URL, like index.php?id=34, then some search engines won't index it. There are methods for creating your URL so that it can be indexed and still pass values, read some tutorials on Devshed.com or PHPbuilder.com. ---John Holmes... -Original Message- From: Charl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:08 PM To: [EMAIL PROTECTED] Subject: [PHP] Search engine indexing Are PHP files indexed the same way as plain HTML files by search engines? -- Charl -- 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?
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?
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?
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?
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] search engine friendly urls
Does anyone have any ideas/info (or can you point me to) regarding how to make dynamic php content more search engine friendly (losing the '?' when dealing with url variables)? As a Cold Fusion convert, you could do something like this: http://www.blabla.com/dynamicpage.cfm/205 were 205 would be a record number and would be conventionally represented as http://www.blabla.com/dynamicpage.cfm?id=205 Thanks in advance, Kelly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] search engine friendly urls
You can do exactly the same thing with PHP. The 205 would show up in the $PATH_INFO variable. -Rasmus On Thu, 21 Mar 2002, Kelly Meeks wrote: Does anyone have any ideas/info (or can you point me to) regarding how to make dynamic php content more search engine friendly (losing the '?' when dealing with url variables)? As a Cold Fusion convert, you could do something like this: http://www.blabla.com/dynamicpage.cfm/205 were 205 would be a record number and would be conventionally represented as http://www.blabla.com/dynamicpage.cfm?id=205 Thanks in advance, Kelly -- 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] Search Engine risk using $HTTP_HOST?
Does anyone know if there is a risk of search engine's banning you (or reducing your status) if you use $HTTP_HOST to redirect visitors to two separate domains such as in the example below? Note: It's not a header redirect. Instead I use an include statement which works because both websites exist in separate folders locally on the same account. file: index.php ? // Open www.stoneentertainment.com If (ereg('stoneentertainment', $HTTP_HOST){include(home/www/stoneentertainment/index.html)} // Open www.nolimitsguides.com If (ereg('nolimits', $HTTP_HOST){include(home/www/nolimits/index.html)} ? Just making sure! :-) Thanks, Kevin Stone [EMAIL PROTECTED]
Re: [PHP] Search Engine
If I wanted to do a search engine for the web (and maybe for just a site) I would set up a MySQL database and have a record for each site which is included in the index. There would be fields for URL, Page title, Keywords and maybe description / text extract from the URL. It would be quite a simple solution and I'm not sure about performance. It would be quite easy to add /modify/delete records as well using this method Greg Schnippel [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... * On 15-01-02 at 12:09 * Yogesh Mahadnac said Hi all! I want to develop a search engine in PHP for a portal that I'm working on at the moment, and I'd be glad if someone could please show me how to do it, or if anyone knows of a link where i can find a tutorial for that. I don't think PHP is really a very good language for a genuine www search engine. (although it works very well on site-wide basis) I'm sure more knowledgeable people than I can make some alternative suggestions but I'm certain that PHP won't be the best tool for the job. I would concur with what everyone else is saying. If you need a search engine and you have system-level access on your machine, your best bet is to set up either htdig or mnogosearch (open source search engine packages) because they already have done the hard work of figuring out fuzzy matching and search ranking. http://www.htdig.org/ http://mnogosearch.org/ Alternatively, if you are using a database you can use some tricky sql statements to search your records for the user's search query. Here's a good tutorial that should get you started on this route: http://www.devshed.com/Server_Side/PHP/Search_Engine/page1.html -schnippy -- 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] Search Engine
Hi all! I want to develop a search engine in PHP for a portal that I'm working on at the moment, and I'd be glad if someone could please show me how to do it, or if anyone knows of a link where i can find a tutorial for that. Thanks and regards, Yogesh Mahadnac
Re: [PHP] Search Engine
Hi all! I want to develop a search engine in PHP for a portal that I'm working on at the moment, and I'd be glad if someone could please show me how to do it, or if anyone knows of a link where i can find a tutorial for that. Use htdig -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key -- 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] Search Engine
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 15-01-02 at 12:09 * Yogesh Mahadnac said Hi all! I want to develop a search engine in PHP for a portal that I'm working on at the moment, and I'd be glad if someone could please show me how to do it, or if anyone knows of a link where i can find a tutorial for that. Thanks and regards, Yogesh Mahadnac I don't think PHP is really a very good language for a genuine www search engine. (although it works very well on site-wide basis) I'm sure more knowledgeable people than I can make some alternative suggestions but I'm certain that PHP won't be the best tool for the job. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8RA+BHpvrrTa6L5oRAtwKAJwMlEU3hpN/Zq5/LwLcuy0xJCkDFgCeKEXP dnyOiXLqJKG5Dw/I2xLpNGA= =9C59 -END PGP SIGNATURE- -- 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] Search Engine
* On 15-01-02 at 12:09 * Yogesh Mahadnac said Hi all! I want to develop a search engine in PHP for a portal that I'm working on at the moment, and I'd be glad if someone could please show me how to do it, or if anyone knows of a link where i can find a tutorial for that. I don't think PHP is really a very good language for a genuine www search engine. (although it works very well on site-wide basis) I'm sure more knowledgeable people than I can make some alternative suggestions but I'm certain that PHP won't be the best tool for the job. I would concur with what everyone else is saying. If you need a search engine and you have system-level access on your machine, your best bet is to set up either htdig or mnogosearch (open source search engine packages) because they already have done the hard work of figuring out fuzzy matching and search ranking. http://www.htdig.org/ http://mnogosearch.org/ Alternatively, if you are using a database you can use some tricky sql statements to search your records for the user's search query. Here's a good tutorial that should get you started on this route: http://www.devshed.com/Server_Side/PHP/Search_Engine/page1.html -schnippy -- 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] Search Engine
PHP isn't totally bad for a search engine. Here's my story. I was in a bit of a predicament when I first started work, because I had to develop a search engine for online video objects. My company is essentially a video re-purposing venture, where we take reams of analog, tape-based videos, encode them into something like MPEG or ASF or whatever, create clip indexes (i.e. a 30 minute clip is broken up into 10x 3-minute clips, with each clip described and categorized) and provide a search engine and interface to watch clips or videos on the web via a broadband connection. (An added bonus is that you can create your own video via personal playlists -- you can take 10 different clips from 10 different videos and run them together into one playlist, all online. In a few months, you'll be able to create your own clips if you don't like our predefined ones.) Anyways, the search engine thing was my deal. I'm the only programmer (*period*) on our team, and I basically had to write a search engine, web site backend, admin interface and all that jazz for our app alone. I was hired March 6, 2001 or so, and I had until, oh, April 15, 2001 to do it. Plus there were a few conditions -- like, it should be portable and inexpensive. PHP seemed like a good choice -- it was portable (Win32, *ix, whatever), it was cheap ($0) and it isn't too bad for rapid development. So off I was. I did manage to finish the search engine and back end by April 15, but it was a mess. It wasn't exactly a stellar search engine, but more of a proof of concept, which was the whole point of the project -- to show that we could provide high quality streaming video through a browser with a relatively good interface. After the proof-of-concept project, we started to get serious, and I dropped most of the code base and started again from scratch. Pretty much the entire search engine now is in PHP, with the sole exceptions being the keyword indexer (Perl, as PHP was a lot slower doing the indexing) and a few extensions to the PHP engine. The search engine itself is fairly fast -- it can do a keyword search on a collection of nearly 8,000 video objects in an average of 0.02 to 0.20 seconds or so, depending on the complexity of the query. It's features include: * Boolean-type searches. Okay, not really, as in you can't use AND, OR and NOT, but you can use +/- style prefixes like in mnoGoSearch and whatnot. Words are automatically OR'ed, +'d words are AND'ed and -'d words are NOT'ed. * Decent search times. On a PIII 500 with 128 MB of RAM, it still averages less than 0.20 seconds for a collection of 8,000 video objects and over 100,000 keywords. * Filtering. We're mostly an education-based site, so you can filter by things like subject (Physics, Chemistry, etc.) and grades (Kindergarden, grade 10, college, etc.) * Spellchecking and somewhat fuzzy searches. Spellchecks work okay, but the fuzzy searches is kind of lame. (Porter stemming.) I might shoehorn in something like Metaphone-type stuff eventually. * Search ranking. Yes, keywords are given weights, everything is ranked and all that jazz. You know, inverse document frequencies, collection distribution, all that stuff. In the end, video objects returned in a search are given a ranking of 1 to 4 based on how well they match your query. It's not terribly advanced, and could use some tuning, but it's surprising how well it works. * XML-based. The search engine itself runs as it's own daemon on either it's own server or along side the web site, and just waits for connections via a UNIX domain socket or a TCP socket. When it receives a query, and sends back an XML document containing the search results. This is especially nice -- you can use it with anything for any purpose, not just a web site, i.e. you can build an native app for Windows and you can still use the search engine, and just format the results via an XSL or whatever. There are a lot of other nifty features, like being able to do remote admin via telnet or whatever. But in the end, it's still just a decent search engine and definitely not Google or even htdig. It's very focused on our specific task, the searching of online educational videos, so something using something like htdig would have required a lot of hacking to get it to where we wanted it. So the morale I guess is, sure, you can make a half-decent search engine out of PHP. Ours gets the job done. But remember, I only had, like, a scant few months to write one, plus a web-based app to go around it, and I was alone on this one. PHP was great for RAD, and the damn thing even works to boot. My search engine could handle a web site easily enough, maybe even a group of sites, but it would totally suck ass as a WWW indexer/spider-type search engine. So there ya go. J Greg Schnippel wrote: * On 15-01-02 at 12:09 * Yogesh Mahadnac said Hi all! I want to develop a search engine in PHP for a
Re: [PHP] search engine submission
All you need to learn, about submission is just forms (post get) and some javascript, to simulate perfectly like user is typing the info. Youca use two frames for that and it's really easy... :) Yours Marian Krushna Kumar R [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I have a website which i would like to submit to the search engines frequently, so i thought i could write a program for this, not depending on other free web sites for submission Rgds Krushna Kumar - Original Message - From: Jon Haworth [EMAIL PROTECTED] To: 'Krushna Kumar R' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, September 24, 2001 7:36 PM Subject: RE: [PHP] search engine submission You can find this code all over the web, an example of it can be seen at most search engines on the Add a URL page :-) What are you trying to do? Cheers Jon -Original Message- From: Krushna Kumar R [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:08 To: [EMAIL PROTECTED] Subject: [PHP] search engine submission Hi, Can someone help me by where i could get some free code for search engine submission Regards Krushna Kumar ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- 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]
Re: [PHP] search engine submission
Hi, I have a website which i would like to submit to the search engines frequently, so i thought i could write a program for this, not depending on other free web sites for submission Rgds Krushna Kumar - Original Message - From: Jon Haworth [EMAIL PROTECTED] To: 'Krushna Kumar R' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, September 24, 2001 7:36 PM Subject: RE: [PHP] search engine submission You can find this code all over the web, an example of it can be seen at most search engines on the Add a URL page :-) What are you trying to do? Cheers Jon -Original Message- From: Krushna Kumar R [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:08 To: [EMAIL PROTECTED] Subject: [PHP] search engine submission Hi, Can someone help me by where i could get some free code for search engine submission Regards Krushna Kumar ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- 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]
RE: [PHP] search engine submission
You can find this code all over the web, an example of it can be seen at most search engines on the Add a URL page :-) What are you trying to do? Cheers Jon -Original Message- From: Krushna Kumar R [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:08 To: [EMAIL PROTECTED] Subject: [PHP] search engine submission Hi, Can someone help me by where i could get some free code for search engine submission Regards Krushna Kumar ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- 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] search engine submission
I believe that he wants an automated URL submission script. I've seen one that just been released like a week or two ago. It's good script from what I remember looking at the code with success page verification. If I can find the URL, I'll be sure to reply. I can't seem to find it my IE's history. I think the Windows XP Pro upgrade on Win2k did something to the browser's history. I have ported my PERL submission script to PHP, however I'm waiting for a particular feature in PHP, rather a function to be more developed before I release my port. Jon Haworth [EMAIL PROTECTED] wrote in message 67DF9B67CEFAD4119E4200D0B720FA3FB5F105@BOOTROS">news:67DF9B67CEFAD4119E4200D0B720FA3FB5F105@BOOTROS... You can find this code all over the web, an example of it can be seen at most search engines on the Add a URL page :-) What are you trying to do? Cheers Jon -Original Message- From: Krushna Kumar R [mailto:[EMAIL PROTECTED]] Sent: 24 September 2001 15:08 To: [EMAIL PROTECTED] Subject: [PHP] search engine submission Hi, Can someone help me by where i could get some free code for search engine submission Regards Krushna Kumar ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- 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]