--- parser3/www/htdocs/Attic/_bug.html 2004/03/05 10:00:05 1.27 +++ parser3/www/htdocs/Attic/_bug.html 2004/05/12 10:16:50 1.44 @@ -1,10 +1,9 @@ -$request:charset[koi8-r] -$response:charset[windows-1251] +$str[Mozilla/4.0 (compatible^; MSIE 5.5^; Windows NT 5.0^; .NET CLR 1.1.4322^; .NET CLR 1.0.3705)] -$SQL.connect-string[odbc://DSN=nestle^;UID=nestle^;PWD=mbm32^;ClientCharset=windows-1251] -#$SQL.connect-string[odbc://DSN=theatre_enciclop^;UID=root^;PWD=^;bug=here] -#^bpt[] -^connect[$SQL.connect-string]{ - ^string:sql{select question from faq}[$.limit(1)] -} -OK +$t[^str.match[yandex][i]] + +^if(def $t){ + found +}{ + not found +} \ No newline at end of file