--- parser3/www/htdocs/Attic/index.html 2002/08/15 09:10:09 1.111 +++ parser3/www/htdocs/Attic/index.html 2002/09/04 14:59:55 1.130 @@ -4,8 +4,11 @@ @auto[filespec] $selffilespec[$filespec] #$form:here -#$request:charset[UTF-8] +$request:charset[UTF-8] #$response:charset[windows-1251] +#$request:charset[windows-1251] +#$response:charset[UTF-8] +$response:charset[empty] #$response:content-type[$.value[text/html]$.charset[$response:charset]] #@postprocess[body] @@ -17,17 +20,19 @@ $selffilespec[$filespec] #^a.format[%.10u] #$result[111] #^f[a] -#^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ +^connect[mysql://mdm:4b833ljq@db-mysql/mdm]{ # ^int:sql{select news_id from news where news_id=-1}[ ## $.default{2} # ]
+# ^hash::sql{bad} # ^string:sql{select news_id from news where news_id=-1}[$.default{2}] # ^file::load[text;^string:sql{select 'from sql server' }] # ^string:sql{select '^^hello[]' }] $ORIGINS(1) # ^process{ ^^h[]} # ^process{^string:sql{select '1 # ^^hello[]' }] } -#} + ^double:sql{select '2*' ^; } +} #^eval(2) #^tcrashlocaljunctionsv2[] #^tcrashlocaljunctions[] @@ -140,7 +145,6 @@ $selffilespec[$filespec] #^tif[] #^image[] #^mail2[] -#^cookie[] #^response[] #^regexp2[] #^ttablerem[] @@ -193,7 +197,6 @@ $selffilespec[$filespec] #^tstdin[] #^tfind[] #^mimet[] -#^cgit[] #^joinlimit[] #^tableclonelimit[] #^transparams[] @@ -209,11 +212,105 @@ $selffilespec[$filespec] #^monthdays(8) #^xdoctypetest[] #^xtabletest[] -^staticstest[] +#^staticstest[] #^staticstest2[] +#^rbodytest[] +#^cookie[] +#^cookieexpirestest[] +#^postest[] +#^voidpostest[] +#^virtualtest[] +#^badcolumntest[] +#^delimiters[] +#^новый-split[] +#^грязные-cookie[] +#^html-почта[] +#^badswitchtest[] +#^okswitchtest[] +^cgit[]
OK +@okswitchtest[] +$local[local value] +^switch[1]{ + ^case[1]{1code $local} +} + +@badswitchtest[] +^switch[1]{ + ^badswitchtestcase[] +} +@badswitchtestcase[][local] +$local[local value] + ^case[1]{1code $local} + +@badjunction[] +^badj1[] +^badj2[] + +@html-почта[] +$переменная[значение] +^mail:send[ + $.from[paf@mail] + $.to[paf@mail] + $.subject[htmltest1] + $.html{тест$переменная= !} +] + + +@грязные-cookie[] +$cookie:a[&] +$cookie:a + +@новый-split[] +$abc[a.b.c] +#$table[^abc.split[.]] +#$table[^abc.split[.;l]] +#$table[^abc.split[.;v]] +$table[^abc.split[.;lv]] +^table.menu{$table.piece}[,] +
+#$table[^abc.split[.;h]] +$table[^abc.split[.;hr]] +$table.0,$table.1,$table.2
+ +@delimiters[] +$a#1[1]
+$a#1=
+ + +@badcolumntest[] +$table[^table::load[ext.cfg]] +$table.b + + +@virtualtest[] +$derived[^derived::create[derived create actual param]] +^derived.test[] + + +@voidpostest[] +$s[] +^s.pos[$nothing] + +@postest[] +$s[$nothing] +^s.pos[$nothing] + +@cookieexpirestest[] +#$cookie:exptest[1] +#$cookie:exptest[$.value[2] $.expires(+1)] +$response:xxxx[^date::now(+10)] +$response:yyy[$.value[^date::now(+20)]] +$response:yyy[$.value[vvv] $.aaaa[^date::now(+20)]] + +@rbodytest[] +$request:body= +
+ +
+ @staticstest2[] ^$derived:derived_var=$derived:derived_var
^$derived:a=$derived:a
@@ -1788,7 +1885,7 @@ $response:body[^pict.gif[]] ] @cookie[] -$env:HTTP_COOKIE
+#$env:HTTP_COOKIE
#$cookie:переменная[test тест ТЕСТ2] =$cookie:переменная=