Subversion Repositories php_antispam

Rev

Rev 5 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 daniel-mar 1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
   "http://www.w3.org/TR/html4/loose.dtd">
3
 
4
<html>
5
 
6
<head>
7
        <title>ViaThinkSoft AntiSpam Test</title>
8
</head>
9
 
10
<body>
11
 
12
<?php
13
 
6 daniel-mar 14
echo '<form action="'.$_SERVER['PHP_SELF'].'">
5 daniel-mar 15
        E-Mail-Adresse: <input name="email" value="'.$_GET['email'].'"><br>
16
        Linktext: <input name="linktext" value="'.$_GET['linktext'].'"><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>
19
        <input type="submit">
20
</form>';
21
 
22
if ($_GET['use_v3']) {
23
        include '../v3.inc.php';
24
} else {
25
        include '../v4.inc.php';
26
}
27
 
28
$x = secure_email($_GET['email'], $_GET['linktext'], isset($_GET['crypt_linktext']));
29
echo '<p>Implementierung:</p>';
30
echo '<textarea cols="120" rows="20">'.htmlentities($x).'</textarea>';
31
echo '<hr>';
32
echo '<p>Vorschau:</p>';
33
echo $x;
34
 
35
?>
36
 
37
</body>
38
 
39
</html>