Subversion Repositories php_antispam

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 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
 
14
echo '<form action="'.$PHP_SELF.'">
15
<input name="email" value="'.$_GET['email'].'">
16
<input name="linktext" value="'.$_GET['linktext'].'">
17
<input type="checkbox" name="crypt_linktext" checked>
18
<input type="submit">
19
</form>';
20
 
21
include 'antispam.inc.php';
22
 
23
$x = secure_email($_GET['email'], $_GET['linktext'], isset($_GET['crypt_linktext']));
24
echo '<textarea cols="120" rows="20">'.htmlentities($x).'</textarea>';
25
echo '<hr>';
26
echo $x;
27
 
28
?>
29
 
30
</body>
31
 
32
</html>