https://www.icyphoenix.com/viewtopic.php?f=35&t=8879&p=57956#p57956
-----------------------------------
mort
Wed 09 Jan, 2013 12:01

Re: QuickSearch - How Does It Works?
-----------------------------------
From what I've read into the script, IP strips anything less than three characters "if searchword < 3 - scrap it" etc.  :mrgreen:

[b]Edit:[/b]

As a matter of fact, it's this part of the script.

[code linenumbers=false]		// 'words' that consist of <3 or >20 characters are removed.
		$entry = preg_replace('/[ ]([\S]{1,2}|[\S]{21,})[ ]/',' ', $entry);[/code]

And I ain't no preg_expert!  :mricy: But something is telling me that <= or >= has gone astray, and nothing is equal to 3 or 20

[code linenumbers=false]Maybe it needs a if($entry <= 3){echo 'Dude! you need more than three characters';};[/code]

Dunno,

But if anything else - It'll feed the spiders.   :lol:


