Version 1.9g
This commit is contained in:
parent
d028822d0b
commit
4c9814a99c
800 changed files with 237325 additions and 1949 deletions
22
artichow/examples/AntiSpam-valid.php
Normal file
22
artichow/examples/AntiSpam-valid.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
/*
|
||||
* This work is hereby released into the Public Domain.
|
||||
* To view a copy of the public domain dedication,
|
||||
* visit http://creativecommons.org/licenses/publicdomain/ or send a letter to
|
||||
* Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
*
|
||||
*/
|
||||
|
||||
require_once "../AntiSpam.class.php";
|
||||
|
||||
$object = new AntiSpam();
|
||||
|
||||
if($object->check('example', $_GET['code'])) {
|
||||
echo "Good value :-)";
|
||||
} else {
|
||||
echo "Bad value :-(";
|
||||
}
|
||||
?>
|
||||
<ul>
|
||||
<li><a href='AntiSpam.php'>Try again</a></li>
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue