Page is a not externally linkable
jamie - 5:55 pm on Dec 1, 2011 (gmt 0)
well, i thought why not try it anyway... and it only takes microseconds to parse the 5000 names and preg_match:
foreach ($arr_names as $ID => $name)
{
if (preg_match('/(' . $name . ')\b/i', $_POST['str'], $matches))
{
$m[] = $matches[1];
}
}
(please don't try this with a wikipedia database of 10 million terms lol)