Handle basic HTTP auth using PHP instead of using webserver configuration = better...
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 1695281.tpl
1 <b>utility: header_template rescue</b> <br/>
2 momentalne nefunguje pre iste restrikcie systemu
3 {* pouzivanie php bolo zakazane}
4
5 if (isset($_POST['id_usera'])) {
6 echo "formular set_header_template pre user id " . $_POST['id_usera'];
7 echo "<form action='/id/";
8 echo $_POST['id_usera'];
9 echo "' method='post'><input type='text' name='header_id' value='";
10
11 {/pouzivanie php bolo zakazane/php *}
12 {$header_id}
13 {* pouzivanie php bolo zakazane}
14 echo "'><input type='submit' name='event' value='set_header_template'></form>";
15 } else {
16 echo "zadaj ID nody usera ";
17 }
18 {/php *}
19 <form action='http://kyberia.sk/id/1695281/' method='post'>
20 <input type='text' name='id_usera'>
21 <input type='submit' value='vygeneruj set_header_template formular' name='submit'>
22 </form>
23
24 </body>
25 </html>
This page took 0.435048 seconds and 4 git commands to generate.