Rev 5 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5 | Rev 6 | ||
---|---|---|---|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 | "http://www.w3.org/TR/html4/loose.dtd"> |
2 | "http://www.w3.org/TR/html4/loose.dtd"> |
3 | 3 | ||
4 | <html> |
4 | <html> |
5 | 5 | ||
6 | <head> |
6 | <head> |
7 | <title>ViaThinkSoft AntiSpam Test</title> |
7 | <title>ViaThinkSoft AntiSpam Test</title> |
8 | </head> |
8 | </head> |
9 | 9 | ||
10 | <body> |
10 | <body> |
11 | 11 | ||
12 | <?php |
12 | <?php |
13 | 13 | ||
14 | echo '<form action="'.$PHP_SELF.'"> |
14 | echo '<form action="'.$_SERVER['PHP_SELF'].'"> |
15 | E-Mail-Adresse: <input name="email" value="'.$_GET['email'].'"><br> |
15 | E-Mail-Adresse: <input name="email" value="'.$_GET['email'].'"><br> |
16 | Linktext: <input name="linktext" value="'.$_GET['linktext'].'"><br> |
16 | Linktext: <input name="linktext" value="'.$_GET['linktext'].'"><br> |
17 | Linktext verschlüsseln: <input type="checkbox" name="crypt_linktext" checked><br> |
17 | Linktext verschlüsseln: <input type="checkbox" name="crypt_linktext" checked><br> |
18 | V3 anstelle von V4 nutzen: <input type="checkbox" name="use_v3" checked><br> |
18 | V3 anstelle von V4 nutzen: <input type="checkbox" name="use_v3" checked><br> |
19 | <input type="submit"> |
19 | <input type="submit"> |
20 | </form>'; |
20 | </form>'; |
21 | 21 | ||
22 | if ($_GET['use_v3']) { |
22 | if ($_GET['use_v3']) { |
23 | include '../v3.inc.php'; |
23 | include '../v3.inc.php'; |
24 | } else { |
24 | } else { |
25 | include '../v4.inc.php'; |
25 | include '../v4.inc.php'; |
26 | } |
26 | } |
27 | 27 | ||
28 | $x = secure_email($_GET['email'], $_GET['linktext'], isset($_GET['crypt_linktext'])); |
28 | $x = secure_email($_GET['email'], $_GET['linktext'], isset($_GET['crypt_linktext'])); |
29 | echo '<p>Implementierung:</p>'; |
29 | echo '<p>Implementierung:</p>'; |
30 | echo '<textarea cols="120" rows="20">'.htmlentities($x).'</textarea>'; |
30 | echo '<textarea cols="120" rows="20">'.htmlentities($x).'</textarea>'; |
31 | echo '<hr>'; |
31 | echo '<hr>'; |
32 | echo '<p>Vorschau:</p>'; |
32 | echo '<p>Vorschau:</p>'; |
33 | echo $x; |
33 | echo $x; |
34 | 34 | ||
35 | ?> |
35 | ?> |
36 | 36 | ||
37 | </body> |
37 | </body> |
38 | 38 | ||
39 | </html> |
39 | </html> |
40 | 40 |