File:  [parser3project] / parser3 / src / www / htdocs / Attic / index.html
Revision 1.44: download - view: text, annotated - select for diffs - revision graph
Sat Mar 24 09:44:21 2001 UTC (25 years, 3 months ago) by paf
Branches: MAIN
CVS tags: HEAD
thrown away freeze mech.
no danger now for you can't do ^request:process[@new-method[]
body]
trick anymore.
still remains $some_instance.process[@new-method[]
possibility]
but would leave it as a feature.
see index for sample

@main[]

$t[^table:load[/test.cfg]]
^process[@b[]
f
]
^b[]

^$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>
</form>

@default[test;def]
^if(^test.length[]){$test}{$def}

@exception[origin;source;comment;type;code]
<body bgcolor=black>
<font color=white>
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<BR>


E-mail: