shell stuff, preprocessor directive

This commit is contained in:
udo
2022-01-21 22:22:14 +00:00
parent 3e8f0f1fa7
commit 939009f9a1
22 changed files with 342 additions and 54 deletions
+32
View File
@@ -0,0 +1,32 @@
RENDER()
{
<><html>
<link rel="stylesheet" href='style.css?v=1'></link>
<h1>
<a href="index.uce">UCE Test</a>:
Shell Stuff
</h1>
<div>shell_exec()</div>
<pre><?
print(shell_exec("ls -l"));
?></pre>
<div>shell_escape()</div>
<pre><?
print(shell_exec("echo "+shell_escape("kasjdf 1ölkasj öflkjasdö\\lkfjsöa'ldkfj 23487692\"bla83746")));
?></pre>
<pre><?= var_dump(context->params) ?></pre>
</html></>
}