File:  [parser3project] / parser3 / src / www / htdocs / Attic / index.html
Revision 1.50: download - view: text, annotated - select for diffs - revision graph
Sat Mar 24 19:12:25 2001 UTC (25 years, 3 months ago) by paf
Branches: MAIN
CVS tags: HEAD
html-typo 0
html-typo 1. noticed double default content-type prob. run cgi.cmd tomorrow first
html-typo sample. detected << problem: they become ltlt too fast

@auto[]
$html-typo[^table:set{user	html
_	&nbsp^;
{	&laquo^;
}	&raquo^;
}]

@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>
</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


E-mail: