Added some small boring scripts and programs writen in few last years
[mirrors/Programs.git] / bash / bash-httpd / bhp / test.bhp
1 #!/home/harvie/Work/bash-httpd/bhp/bhp
2 <?bhp source "$BHP_LIB"; echo "Pouzivam knihovnu $BHP_LIB<br /><br />" ?>
3
4 <form action="?" method="GET">
5 <input type="text" name="pocet" value="5" />
6 <input type="text" name="text" value="test" />
7 <input type="submit" value="go" />
8 </form>
9 <hr />
10
11 <?bhp
12 pocet=$(urlvalue pocet);
13 text=$(urlvalue text);
14 for i in $(seq 1 $pocet); do
15 echo "$i: $text<br />";
16 done;
17 ?>
18
19 <hr />
This page took 0.275892 seconds and 4 git commands to generate.