Re: [PHP] search string

2006-07-21 Thread Andrew Kreps
You can use a regular expressions with a function called preg_match to find the values. For example, (Assuming your sql statement is $sql) preg_match("/(tbl_chassis.chasis_model LIKE \'\%[a-zA-Z0-9-]+\%\'/)", $sql, $matches); That will return $matches[0] with the matched data. Similarly, pre

[PHP] search string

2006-07-20 Thread weetat
Hi all , I am using php4.3.2,MYSQL and RedHat I have a sql text as shown below: SELECT DISTINCT(tbl_chassis.serial_no),tbl_chassis.host_name,tbl_chassis.chasis_model,tbl_chassis.country,tbl_chassis.city,tbl_chassis.building, tbl_chassis.other,tbl_chassis.status,tbl_chassis.chasis_eos,tbl_c

RE: [PHP] Search files in a directory!

2006-01-23 Thread Richard Correia
6:15 PM To: php-general@lists.php.net Subject: [PHP] Search files in a directory! I want to setup a search box that will search all the filenames in a given directory for the keyword provided by the user and display all the files that have that keyword? how would I do this? at least the

[PHP] Search files in a directory!

2006-01-23 Thread Nicholas Couloute
I want to setup a search box that will search all the filenames in a given directory for the keyword provided by the user and display all the files that have that keyword? how would I do this? at least the searching part? ~Nick Couloute co-owner/Web Designer Sidekick2Music.Com -- PHP General

[PHP] Can Anybody telll me more php search engine?

2005-12-13 Thread ynzheng.gmail (sent by Nabble.com)
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

2005-11-09 Thread Petr Smith
It sounds like this is specifically for html pages, or am I assuming wrong? Do any of these or other search engines index html content held in a MySQL database? Arno It depends.. Some products are based around web spider (mnogosearch), some are only engines without spider part (lucene). Ther

RE: [PHP] PHP Search Engine

2005-11-09 Thread Arno Kuhl
-Original Message- From: Petr Smith [mailto:[EMAIL PROTECTED] Sent: 09 November 2005 11:27 To: php-general@lists.php.net Subject: Re: [PHP] PHP Search Engine Richard Lynch wrote: > On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote: > >>Has anyone on here created a sear

Re: [PHP] PHP Search Engine

2005-11-09 Thread Petr Smith
Richard Lynch wrote: On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote: Has anyone on here created a search engine in PHP? Sure, of sorts, now and again, here and there, to some degree. I am reasonably certain that if you Googled for: "PHP web spider framework" you would find s

Re: [PHP] PHP Search Engine

2005-11-08 Thread Richard Lynch
On Tue, November 8, 2005 11:20 pm, Leonard Burton wrote: > Has anyone on here created a search engine in PHP? Sure, of sorts, now and again, here and there, to some degree. Though it was at the lower end of search engine, possible devolving to web-scraping, when you get right down to it... > I h

Re: [PHP] PHP Search Engine

2005-11-08 Thread Philip Hallstrom
HI All, Has anyone on here created a search engine in PHP? I have project to create a search engine that will search about 50K or so pages of information on 100 or so various domain names. What have you all done in the past? PHPdig was a failure. Do you recommend any of the ones that are for

[PHP] Re: PHP Search Engine

2005-11-08 Thread Nadim Attari
> 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

[PHP] PHP Search Engine

2005-11-08 Thread Leonard Burton
HI All, Has anyone on here created a search engine in PHP? I have project to create a search engine that will search about 50K or so pages of information on 100 or so various domain names. What have you all done in the past? PHPdig was a failure. Do you recommend any of the ones that are for s

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

2005-09-29 Thread Rob Agar
hi Ross > Any alternatives free or paid let me know.. http://www.isearchthenet.com/isearch/ is a good 'un, so long as you don't have thousands of pages. R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php search engine

2005-09-29 Thread John Nichel
Ross wrote: I am looking to install a php site search on one of my sites. Looking at http://www.site-search-pro.com/ has anyoner used this? what do I need to do to get it working? do the files reside on my server? Any alternatives free or paid let me know.. I'm partial to mnogoSearch http

[PHP] php search engine

2005-09-29 Thread Ross
I am looking to install a php site search on one of my sites. Looking at http://www.site-search-pro.com/ has anyoner used this? what do I need to do to get it working? do the files reside on my server? Any alternatives free or paid let me know.. R. -- PHP General Mailing List (http://www.p

RE: [PHP] PHP search

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 2:36 pm, Chris W. Parker said: > Richard Lynch > on Thursday, June 30, 2005 2:33 PM said: > >> There are innumerable gothcas to it to start with, ... > > Is that a special kind of goth? Yeah, it's California Goth, also known as Surf Goth. But s

Re: [PHP] PHP search

2005-06-30 Thread Greg Donald
On 6/30/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > Use htdig to index your site. Here's a nice tutorial on how to wrap ht://Dig results with PHP for custom layouts and formatting: http://www.devshed.com/c/a/PHP/Search-This/ -- Greg Donald Zend Certified Engineer MySQL Core

RE: [PHP] PHP search

2005-06-30 Thread Chris W. Parker
Richard Lynch on Thursday, June 30, 2005 2:33 PM said: > There are innumerable gothcas to it to start with, ... Is that a special kind of goth? :P Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP search

2005-06-30 Thread Richard Lynch
On Sun, June 26, 2005 8:13 pm, Bruce Gilbert said: > I am fairly new to PHP, and I am looking to create a search > functionality on a website using php. Can anyone point me to a good > tutorial that can walk me through this? Your best bets are: Use http://google.com and add "site:example.com" as

[PHP] Re: PHP search

2005-06-27 Thread Jason Barnett
Bruce Gilbert wrote: Hello, I am fairly new to PHP, and I am looking to create a search functionality on a website using php. Can anyone point me to a good tutorial that can walk me through this? Between Google / Codewalkers / PHPFreaks you should be able to find something. -- NEW? | http:/

[PHP] PHP search

2005-06-26 Thread Bruce Gilbert
Hello, I am fairly new to PHP, and I am looking to create a search functionality on a website using php. Can anyone point me to a good tutorial that can walk me through this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search problem

2005-05-23 Thread Kristen G. Thorson
Jim Moseby wrote: Hi, I need to build up a search module for a shop. If I make a basic search (product title for example) it is ok. $query = "SELECT product_id FROM products WHERE title LIKE '%$title%'"; But i need an advance search for more than one field (title, description, price, wei

RE: [PHP] Search problem

2005-05-23 Thread Jim Moseby
> Hi, > > I need to build up a search module for a shop. If I make a > basic search (product title for example) it is ok. > > $query = "SELECT product_id FROM products WHERE title LIKE > '%$title%'"; > > But i need an advance search for more than one field (title, > description, price, weight

Re: [PHP] Search problem

2005-05-22 Thread Joe Wollard
I used to search the same way until someone on this list mentioned using a fulltext index in mysql. Doing this almost eliminated all my headaches with searching. Easiest way to create a fulltext index is to use phpMyAdmin. Once you've created the fulltext index on `title`,`description`,`price`,`

Re: [PHP] Search problem

2005-05-21 Thread Richard Lynch
On Sat, May 21, 2005 1:35 pm, [EMAIL PROTECTED] said: > I need to build up a search module for a shop. If I make a basic search > (product title for example) it is ok. > > $query = "SELECT product_id FROM products WHERE title LIKE '%$title%'"; > > But i need an advance search for more than one fiel

Re: [PHP] Search problem

2005-05-21 Thread Rory Browne
On 5/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I need to build up a search module for a shop. If I make a basic search > (product title for example) it is ok. > > $query = "SELECT product_id FROM products WHERE title LIKE '%$title%'"; > > But i need an advance search for mor

[PHP] Search problem

2005-05-21 Thread virtualsoftware
Hi, I need to build up a search module for a shop. If I make a basic search (product title for example) it is ok. $query = "SELECT product_id FROM products WHERE title LIKE '%$title%'"; But i need an advance search for more than one field (title, description, price, weight) The problem is that

Re: [PHP] Search Agents...

2005-04-28 Thread Richard Lynch
On Thu, April 28, 2005 3:17 pm, Nick Zukin said: > I have a request from a client that has me a little confounded. He wants > to > have a system where when someone posts a public request with certain > criteria, that criteria is then used to find established profiles/agents > that fit the criteria

[PHP] Search Agents...

2005-04-28 Thread Nick Zukin
I have a request from a client that has me a little confounded. He wants to have a system where when someone posts a public request with certain criteria, that criteria is then used to find established profiles/agents that fit the criteria. Then emails are sent out to the people corresponding to

Re: [PHP] Search Engine with MySQL

2005-01-25 Thread Richard Lynch
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 g

[PHP] Search Engine with MySQL

2005-01-25 Thread Phillip S. Baker
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

Re: [PHP] Search engine

2005-01-20 Thread Jordi Canals
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.p

Re: [PHP] Search indexing.. Re: [PHP] Search engine

2005-01-20 Thread Greg Donald
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/

Re: [PHP] Search engine

2005-01-20 Thread Greg Donald
isplay 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

[PHP] Search indexing.. Re: [PHP] Search engine

2005-01-20 Thread tg-php
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 sear

Re: [PHP] Search engine

2005-01-20 Thread Robert Sossomon
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 recomme

Re: [PHP] Search engine

2005-01-20 Thread Rosen
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. > > > > &g

Re: [PHP] Search engine

2005-01-20 Thread Ben Edwards
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: > > > &g

Re: [PHP] Search engine

2005-01-20 Thread Rosen
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?

Re: [PHP] Search engine

2005-01-20 Thread Ben Edwards
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]>

[PHP] Search engine

2005-01-20 Thread Rosen
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 Friendly URLs

2005-01-16 Thread Greg Donald
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 ed

Re: [PHP] Search Engine Friendly URLs

2005-01-15 Thread Robby Russell
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 f

[PHP] Search Engine Friendly URLs

2005-01-15 Thread Josh
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 Genera

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-08 Thread Ben Ramsey
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-

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-08 Thread Greg Donald
ple 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 ht

[PHP] Search engine for my unicode site

2004-11-07 Thread Sadeq Naqashzade
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://

RE: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Nick Le Mouton
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 existin

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Sadeq Naqashzade
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

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Noodles
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 'se

Re: [PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread Curt Zirzow
* 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 > 'sel

[PHP] Search engine : build a new one or use an alreadry existing one ?

2004-11-07 Thread 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 t

Re: [PHP] Search a word in multiple tables

2004-11-05 Thread raditha dissanayake
Phpu wrote: Hi, How can i search a specific word in 2 tables I use this but it is not working sql = "SELECT a.product_id, a.".select_language('product_name_en', 'product_name_fr').", b.brand_name FROM products_accessories as a, brands as b WHERE (a.".select_language('product_name_en', 'pro

RE: [PHP] Search a word in multiple tables

2004-11-05 Thread Murray @ PlanetThoughtful
> Hi, > How can i search a specific word in 2 tables > I use this but it is not working > > sql = "SELECT a.product_id, a.".select_language('product_name_en', > 'product_name_fr').", b.brand_name FROM products_accessories as a, brands > as b > WHERE (a.".select_language('product_name_en',

[PHP] Search a word in multiple tables

2004-11-05 Thread Phpu
Hi, How can i search a specific word in 2 tables I use this but it is not working sql = "SELECT a.product_id, a.".select_language('product_name_en', 'product_name_fr').", b.brand_name FROM products_accessories as a, brands as b WHERE (a.".select_language('product_name_en', 'product_name

RE: [PHP] search string / query format

2004-07-09 Thread Ed Lazor
> -Original Message- > > I'm going to create a search page that accepts input similar to places > like > > Yahoo and Google. > [snip] > > Also, I've heard that MySQL's indexing can > > support some of this, but I'm not sure how much. > > Using a FULLTEXT index and searching in BOOLEAN m

Re: [PHP] search string / query format

2004-07-09 Thread John Taylor-Johnston
>>Keyword AND keyword2 >>"keyword keyword2" -keyword3 It doesn't support AND or OR but it does use - + * and others. >Consult thine manual!! (The MySQL one) ;) http://dev.mysql.com/doc/mysql/en/Fulltext_Search.html The problem is getting a FULLTEXT to sort by relevancy. This was a real pain, un

Re: [PHP] search string / query format

2004-07-09 Thread John W. Holmes
Ed Lazor wrote: I'm going to create a search page that accepts input similar to places like Yahoo and Google. [snip] > Also, I've heard that MySQL's indexing can support some of this, but I'm not sure how much. Using a FULLTEXT index and searching in BOOLEAN mode supports the type of search stri

[PHP] search string / query format

2004-07-09 Thread Ed Lazor
I'm going to create a search page that accepts input similar to places like Yahoo and Google. Example input would be: Keyword AND keyword2 Keyword -keyword2 +keyword3 "keyword keyword2" -keyword3 Rather than reinvent things though, I'm wondering if anyone here happens to have a script o

Re: [PHP] Search and replace a String in a file.

2004-06-24 Thread Justin Patrin
You need to do: $snr = new File_SearchReplace(...); On Thu, 24 Jun 2004 13:52:55 -0400, Eric L. Sammons <[EMAIL PROTECTED]> wrote: > > First let me thank you for pointing me to PEAR. Now for the problem. Here is > my code: > > require_once 'File/SearchReplace.php'; > > $ser

FWD: RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
One last thing, I know someone will ask... Yes I have installed the PEAR package: pear info File_SearchReplace About File_SearchReplace-1.0.1 == Provides Package File_SearchReplace Summary Performs search and replace routines Description Provides var

RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
First let me thank you for pointing me to PEAR. Now for the problem. Here is my code: File exists."; $snr = File_SearchReplace("server-temp", "server-$serverName", $nfile, $dir, false, $ignoreline); $snr -> doSearch();

Re: [PHP] Search and replace a String in a file.

2004-06-24 Thread Justin Patrin
There's a PEAR package for just this. :-) http://pear.php.net/package/File_SearchReplace On Thu, 24 Jun 2004 12:58:08 -0400, Eric L. Sammons <[EMAIL PROTECTED]> wrote: > > Being new to PHP this task seems to be little out of my reach right now. I > wonder if anyone could tell me how, as I read a

RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Jay Blanchard
[snip] Being new to PHP this task seems to be little out of my reach right now. I wonder if anyone could tell me how, as I read a file, line by line, search for and then replace a given string? Basically I will open the file, read its lines one by one and I want to replace Some-Name with Some-o

[PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
Being new to PHP this task seems to be little out of my reach right now. I wonder if anyone could tell me how, as I read a file, line by line, search for and then replace a given string? The lines in the file will appear as such: Summary: Some Summary Name: Some-Name Version: x.x . . . Basica

Re: [PHP] Search Sanitization

2004-06-16 Thread Greg Donald
On Wed, 16 Jun 2004 16:10:10 -0400, Gabe <[EMAIL PROTECTED]> wrote: > > Hi Greg, I was looking at your function and I was wondering if you could > explain how the slashes function works exactly. It looks like it is > recursive, but I don't understand why you would need to do that. It handles re

Re: [PHP] Search Sanitization

2004-06-16 Thread Gabe
Greg Donald wrote: On Wed, 16 Jun 2004 10:34:21 -0400, Gabe <[EMAIL PROTECTED]> wrote: I'm writing a *very* simple search form for my db and was interested in hearing some recommendations on what to check for with the user's input for the search. However, I guess more specifically my question is if

Re: [PHP] Search Sanitization

2004-06-16 Thread Greg Donald
On Wed, 16 Jun 2004 10:34:21 -0400, Gabe <[EMAIL PROTECTED]> wrote: > > I'm writing a *very* simple search form for my db and was interested in > hearing some recommendations on what to check for with the user's input > for the search. > > However, I guess more specifically my question is if anyo

[PHP] Search Sanitization

2004-06-16 Thread Gabe
I'm writing a *very* simple search form for my db and was interested in hearing some recommendations on what to check for with the user's input for the search. However, I guess more specifically my question is if anyone had any advice as to other things I should check since it's a search form.

Re: [PHP] search engine optimization and php

2004-06-08 Thread Marek Kilimajer
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 lette

RE: [PHP] search engine optimization and php

2004-06-08 Thread Aaron Wolski
ks, 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 optimiza

[PHP] search engine optimization and php

2004-06-08 Thread Edward Peloke
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

Re: [PHP] search query analyzer

2004-05-12 Thread raditha dissanayake
Paul Godard wrote: Hi I am looking for some good ideas to combine some fields with query operators (multiple words, or/and, >/„/¾<, range of numerical values...). Let's say I have 2 fields (numerical & text) to combine where the serach criteria can be as complicated as this : - year : >1950, 19

[PHP] search query analyzer

2004-05-11 Thread Paul Godard
Hi I am looking for some good ideas to combine some fields with query operators (multiple words, or/and, >/„/¾<, range of numerical values...). Let's say I have 2 fields (numerical & text) to combine where the serach criteria can be as complicated as this : - year : >1950, 1960-1965, not1980-20

RE: [PHP] Search MySQL and Match Whole Words

2004-04-23 Thread Jay Blanchard
[snip] I was wondering if anyone knows how to do whole word searches in mysql. I have a search textbox that users can enter in multiple words to search for in the database, but things like the mysql LIKE match any part of a word. Is there a way to search for whole word matches only? Please let me

[Fwd: [PHP] Search MySQL and Match Whole Words]

2004-04-22 Thread Mattias Thorslund
You mean Full-text searches? Read about them here: http://dev.mysql.com/doc/mysql/en/Fulltext_Search.html Only works with certain table types. Not InnoDB tables (transactional) for instance. Best, Mattias (ps new to this list - messed up on replying first time) Original Message -

[PHP] Search MySQL and Match Whole Words

2004-04-22 Thread Matt Palermo
I was wondering if anyone knows how to do whole word searches in mysql. I have a search textbox that users can enter in multiple words to search for in the database, but things like the mysql LIKE match any part of a word. Is there a way to search for whole word matches only? Please let me know i

Re: [PHP] Search for a *

2004-04-20 Thread Brent Clark
> preg_match('/\*/', $var); Thanks, worked like charm Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search for a *

2004-04-20 Thread Curt Zirzow
* Thus wrote Brent Clark ([EMAIL PROTECTED]): > Hi all > how do you search for a * in preg_match You need to escape it: preg_match('/\*/', $var); 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

[PHP] Search for a *

2004-04-20 Thread Brent Clark
Hi all how do you search for a * in preg_match Kind Regards Brent Clark

Re: [PHP] Search Script????

2004-01-20 Thread John Nichel
Student wrote: I have my web site with file extensions .php .php3 .html .htm .shtml Now i (am looking for a script or) would like to write a php script so that users can search my web site for information Can anyone help me get started. I want to include a search in my web site.. Cross post b

[PHP] Search Script????

2004-01-20 Thread Student
I have my web site with file extensions .php .php3 .html .htm .shtml Now i (am looking for a script or) would like to write a php script so that users can search my web site for information Can anyone help me get started. I want to include a search in my web site.. -- PHP General Mailing Lis

Re: [PHP] Re: simple php search

2003-12-05 Thread Blake Schroeder
I liked this one http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html Paul Duggan wrote: is anyone away of any tutorials as I'm having difficulty constructing the remainder of my code. Thanks for the replies! "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL

[PHP] Re: simple php search

2003-12-05 Thread Paul Duggan
thanks all for the help, I substituted GET for POST in \"{$_GET['surname']}\"" figured that I needed a 2nd php file which was invoked from the submit button on the first and hey presto it works :) "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > is anyone away of any

[PHP] Re: simple php search

2003-12-05 Thread Paul Duggan
is anyone away of any tutorials as I'm having difficulty constructing the remainder of my code. Thanks for the replies! "Paul Duggan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > if I create a text box: > > > > > > > > > > > > > how do I go about extracting a surname from a

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
"Eric Bolikowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Dimitri Marshall" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > "Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > Paul Duggan wrote: > > > > > > >if I cre

Re: [PHP] simple php search

2003-12-05 Thread Eric Bolikowski
"Dimitri Marshall" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Paul Duggan wrote: > > > > >if I create a text box: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >h

Re: [PHP] simple php search

2003-12-05 Thread Dimitri Marshall
"Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Paul Duggan wrote: > > >if I create a text box: > > > > > > > > > > > > > > > > > > > > > > > > > >how do I go about extracting a surname from a mysql database? > > > > > > > >will it be something along the lines? > >

Re: [PHP] simple php search

2003-12-05 Thread Sophie Mattoug
Paul Duggan wrote: if I create a text box: how do I go about extracting a surname from a mysql database? will it be something along the lines? select firstname,surname from employees where surname = textbox.surname; "SELECT firstname, surname FROM employees WHERE surname = '{$_G

[PHP] simple php search

2003-12-05 Thread Paul Duggan
if I create a text box: how do I go about extracting a surname from a mysql database? will it be something along the lines? select firstname,surname from employees where surname = textbox.surname; new to this so im trying to get my head around it, basically i just want to search

RE: [PHP] Search logic question

2003-12-04 Thread Chris W. Parker
Hardik Doshi on Thursday, December 04, 2003 2:21 PM said: > Please let me know. If you have any doubt in > understanding the entire process please let me know so > i can try to explain more. Let me know if I get this right. A user searches for something. User gets

[PHP] Search logic question

2003-12-04 Thread Hardik Doshi
Hi Group, I need to implement the search engine for retrieving the image observations data from the MySQL database. The critical part in the search is the ability to add search criteria (Multipage search) from page to page. Anywhere during the process, user can click on the search button to search

Re: [PHP] search/replace functions

2003-12-03 Thread David T-G
Scott -- ...and then Scott Ware said... % % I'm new to the list, and I don't want this to sound like a stupid ?, but % I am having an issue with a function that I created. No problem! % % I have some code stored in a database, similar to XML-style tags, but I % just created them myself to be

[PHP] search/replace functions

2003-12-03 Thread Scott Ware
I'm new to the list, and I don't want this to sound like a stupid ?, but I am having an issue with a function that I created. I have some code stored in a database, similar to XML-style tags, but I just created them myself to be more "user-friendly" to people. Like for instance , and (would make

[PHP] Search and Replace with WinWord and COM Objects?

2003-12-01 Thread jon
Hey folks... Hopefully, I'm not the only person out there trying this stuff... but I haven't been able to find much documentation. I'm trying to do basic search and replace with Word XP, but am not having any success... The basics work -- I can connect via com, write some stuff, save a file, etc.

Re: [PHP] Search File

2003-11-21 Thread Burhan Khalid
Vernon Webb wrote: I'm trying to find a way to search text files in a directory using php. I've done some researching under the filesystem section on php.net but seem to have come up empty handed. Is there a way to do keyword searches on a txt file in a directory hopefully with some type of relevan

RE: [PHP] Search File

2003-11-21 Thread Jay Blanchard
[snip] I'm trying to find a way to search text files in a directory using php. I've done some researching under the filesystem section on php.net but seem to have come up empty handed. Is there a way to do keyword searches on a txt file in a directory hopefully with some type of relevance ranking?

[PHP] Search File

2003-11-21 Thread Vernon Webb
I'm trying to find a way to search text files in a directory using php. I've done some researching under the filesystem section on php.net but seem to have come up empty handed. Is there a way to do keyword searches on a txt file in a directory hopefully with some type of relevance ranking? Thanks

Re: [PHP] Search For File

2003-11-18 Thread Burhan Khalid
PHPDiscuss - PHP Newsgroups and mailing lists wrote: Hello, I am trying to write a simple application using PHP on a Windows 2000 server. There is one text box for input and one search button. Basically the user would input a file name (for example "help.pdf") and then the php script would searc

[PHP] Search For File

2003-11-18 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello, I am trying to write a simple application using PHP on a Windows 2000 server. There is one text box for input and one search button. Basically the user would input a file name (for example "help.pdf") and then the php script would search a directory (for example "c:\help\") and subfolders

<    1   2   3   4   5   >