initial import

This commit is contained in:
udo
2022-01-21 09:10:38 +00:00
parent ad3d65cdac
commit c047927b18
171 changed files with 16540 additions and 1 deletions
+36
View File
@@ -0,0 +1,36 @@
RENDER()
{
DTree t;
<>
<link rel="stylesheet" href='style.css'></link>
<h1>
<a href="index.uce">UCE Test</a>:
File Append
</h1>
File Append:
<pre style="white-space: pre-wrap"><?
if(context->get["cmd"] == "clear")
file_put_contents("/tmp/test.txt", "");
file_append("/tmp/test.txt", context->server->request_count, "\thello world\t", 2, "\t", time(), "\t", microtime(), "\n");
print(file_get_contents("/tmp/test.txt"));
?></pre>
<button onclick="document.location.href='?cmd=add';">Add Line</button>
<button onclick="document.location.href='?cmd=clear';">Clear File</button>
Params
<pre><?= var_dump(context->params) ?></pre>
</>
}