--- parser3/www/htdocs/Attic/index.html 2002/06/24 11:59:34 1.74 +++ parser3/www/htdocs/Attic/index.html 2002/08/06 12:48:15 1.87 @@ -4,9 +4,9 @@ @auto[filespec] $selffilespec[$filespec] #$form:here -$request:charset[windows-1251] -$response:charset[windows-1251] -$response:content-type[$.value[text/html]$.charset[$response:charset]] +#$request:charset[UTF-8] +#$response:charset[windows-1251] +#$response:content-type[$.value[text/html]$.charset[$response:charset]] #@postprocess[body] #$body @@ -17,10 +17,12 @@ $response:content-type[$.value[text/html #^a.format[%.10u] #$result[111] #^f[a] -#^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ -# ^int:sql{select news_id from news where news_id=-1}[$.default{2}]
-# ^string:sql{select news_id from news where news_id=-1}[$.default{2}] -#} +^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ + ^int:sql{select news_id from news where news_id=-1}[ +# $.default{2} + ]
+ ^string:sql{select news_id from news where news_id=-1}[$.default{2}] +} #^eval(2) #^tcrashlocaljunctionsv2[] #^tcrashlocaljunctions[] @@ -129,7 +131,6 @@ $response:content-type[$.value[text/html #$t[^methresult[]] ->$t #^terror[] #^ssave[] -#^calendar[] #^thash[] #^tdef[] #^ford[] @@ -183,9 +184,107 @@ $response:content-type[$.value[text/html #^tfilespec[] #^tcrypt[] #^cryptdocsample[] -^sendtests[] +#^sendtests[] +#^tnormalize[] +#^xmltransformbyxdoc[] +#^sergestrandef[] +#^tstdin[] +#^tfind[] +#^calendar[] +#^mimet[] +^cgit[] +
OK +@cgit[] +$f[^file::cgi[showenv.cmd]] +$f.HELLO=
+$f.CONTENT-TYPE=
+$f.content-type=
+ + +@mimet[] +$f[^file::stat[a.GIF]] +$f.content-type + + +@tfind[] +^file:find[index.html] + +@tstdin[] +$f[^file::exec[test.pl;$.stdin[проверка stdin потока]]] +
$f.text
+ +@sergestrandef[] +$sQuantity[ ] +^sQuantity.int(10) + +@xmltransformbyxdoc[] +$xdoc[^xdoc::set{^process{ + + + + 1 2 + + +}}] +$sheet[^xdoc::create{ + + + + + + +defparam1 +defparam2 + + + + param1=
+ param2=
+ + test return +
+ + + test return3 + + + + + z + para1= + +
+ + +
+ + + + +
+}] + + +$xdoc[^xdoc.transform[$sheet]] +$string[^xdoc.string[$.method[html]]] +^string.save[a] +^untaint[html]{$string} + + + +@tnormalize[] +#s состоит из 1000 фрагментов +$s[^for[i](0;999){фрагмент }] +#это займет много ресурсов +^s.match[фраг][g]{перга} +#это займет меньше ресурсов +#$normalized[^s.normalize[]] +#^normalized.match[фраг][g]{перга} + @sendtests[] #^text[] #^html[] @@ -281,7 +380,8 @@ $htpasswd[^table::create[nameless]{}] @tcrypt[] -^math:crypt[paf;^$apr1^$salt123] +#^math:crypt[123;^$apr1^$1234567890abcdef]
+^math:crypt[123;^$apr1^$]
@tfilespec[] src=$selffilespec
@@ -1512,10 +1612,12 @@ $abc[abc] ^abc.save[abc] @calendar[] -2001;11:
-$week_days[^date:calendar[rus](2001;11)] +$year(2002) +$month(8) +${year}-${month}:
+$week_days[^date:calendar[rus]($year;$month)]
-^week_days.menu{^for[wday](0;7){^if($week_days.$wday){$week_days.$wday; ^; ^;} }
} +^week_days.menu{^for[wday](0;6){^if($week_days.$wday){$week_days.$wday; ^; ^;} }=$week_days.week=
}
@thash[]