|
|
| version 1.23, 2001/03/19 22:56:46 | version 1.48, 2001/03/24 15:16:43 |
|---|---|
| Line 1 | Line 1 |
| $response:body[123] | @main[] |
| <form method=post enctype=multipart/form-data> | $t[^table:load[/test.cfg]] |
| <input name=photo type=file> | ^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> | |
| (^$form:name=$form:name)<BR> | |
| <input name=name value="^default[$form:name;не знаю]"> | |
| <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 | |