|
|
| version 1.22, 2001/03/19 21:39:38 | version 1.50, 2001/03/24 19:12:25 |
|---|---|
| Line 1 | Line 1 |
| <form method=post enctype=multipart/form-data> | @auto[] |
| <input name=photo type=file> | $html-typo[^table:set{user html |
| _  ^; | |
| { «^; | |
| } »^; | |
| }] | |
| @main[] | |
| <HR> | |
| $t[^table:load[/test.cfg]] | |
| ^process[@b[] | |
| f | |
| ] | |
| ^b[]<BR> | |
| ^$t.a=$t.a<BR> | |
| ^$request:uri=$request:uri<BR> | |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | |
| ^rem{ | |
| $response:body[] | |
| $response:location[http://parser3/123] | |
| } | |
| <HR> | |
| ^^auto_test[]:<BR> | |
| <ol> | |
| ^auto_test[] | |
| </ol> | |
| <HR> | |
| ^${cookie:вот}=${cookie:вот}?<BR> | |
| ^$request:query=$request:query<BR> | |
| ^$request:uri=$request:uri<BR> | |
| <form method=post> | |
| <table border=1 width=250><tr><td>$form:name</td></tr></table> | |
| <textarea name=name rows=5 cols=40>^untaint[html]{^default[$form:name;не знаю]}</textarea><BR> | |
| <input type=submit> | <input type=submit> |
| </form> | </form> |
| <hr> | |
| ^if($form:photo){ | @default[test;def] |
| <pre> | ^if(^test.length[]){$test}{$def} |
| ^$form:photo.name='$form:photo.name' | |
| ^$form:photo.size='$form:photo.size' | @exception[origin;source;comment;type;code] |
| ^$form:photo.text='$form:photo.text' | <body bgcolor=black> |
| ^form:photo.save{paf.txt} | <font color=white> |
| </pre> | ERROR: |
| } | ^if(def $source){$origin '$source'} |
| ${comment}. | |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} | |
| @auto_test[] | |
| ^BASE.auto_test[] | |
| <li>$request:uri | |