Received: from smtp1.libero.it (smtp1.libero.it [193.70.192.51]) by hub.org (8.9.3/8.9.3) with ESMTP id DAA12383; Sun, 30 Jan 2000 03:57:28 -0500 (EST) (envelope-from perassi@vlsilab01.polito.it) Received: from vlsilab01.polito.it (151.20.68.28) by smtp1.libero.it; 30 Jan 2000 09:56:57 +0100 Sender: carlo Message-ID: <3893FA36.86990BC2@vlsilab01.polito.it> Date: Sun, 30 Jan 2000 08:45:42 +0000 From: Carlo Perassi X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.13-7mdk i586) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org, pgsql-interfaces@postgresql.org Subject: search engine php3 not case sensitive Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit hi all I hope this is not a trivial question... I haven't find any answer on the FAQ anyway... I'm developing a little search engine (PostgreSQL+Apache+PHP3) working wiht long fields (like 8000 char) if someone insert the word into my form I can search for: "as is" Word WORD word If someone would search for a chemical formula I should provide the right output without any dependencies with the upper case or lower case used by the client... for example if you write nacl I should be able to search for "as is" Nacl NACL Nacl BUT most of all for NaCl, the right one! Real search engine like Altavista to that of course... I don't assume I want to develop something like Altavista, for sure ;P, but a little hand could be appreciated anyway. thanks. ps: by the way... the php3 function soundex probably it's not the last answer on that problem. -- Carlo Perassi --