file locking
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
RENDER()
|
||||
{
|
||||
DTree t;
|
||||
|
||||
<>
|
||||
<link rel="stylesheet" href='style.css'></link>
|
||||
<h1>
|
||||
<a href="index.uce">UCE Test</a>:
|
||||
FileI/O
|
||||
</h1>
|
||||
|
||||
File IO:
|
||||
|
||||
<pre style="white-space: pre-wrap"><?= file_get_contents("fileio.uce") ?></pre>
|
||||
|
||||
Params
|
||||
<pre><?= var_dump(context->params) ?></pre>
|
||||
</>
|
||||
|
||||
}
|
||||
@@ -23,6 +23,7 @@ RENDER()
|
||||
<li><a href="json.uce">JSON</a></li>
|
||||
<li><a href="memcached.uce">Memcached</a></li>
|
||||
<li><a href="mysql.uce">MySQL Connector</a></li>
|
||||
<li><a href="fileio.uce">File I/O</a></li>
|
||||
</ul>
|
||||
<pre><?
|
||||
echo("Worker PID: "+std::to_string(my_pid)+"\n");
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
void show_form()
|
||||
{
|
||||
|
||||
<form action="?" method="post" enctype="multipart/form-data">
|
||||
<><form action="?" method="post" enctype="multipart/form-data">
|
||||
<div>
|
||||
<label>Some text:</label>
|
||||
<input type="text" name="fühld" value="<?= context->post["fühld"] ?>"/>
|
||||
@@ -14,7 +14,7 @@ void show_form()
|
||||
<div>
|
||||
<input type="submit" value="Submit Form"/>
|
||||
</div>
|
||||
</form>
|
||||
</form></>
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user