Version 1.9g
This commit is contained in:
parent
d028822d0b
commit
4c9814a99c
800 changed files with 237325 additions and 1949 deletions
18
artichow/examples/tutorials/AntiSpam/spam.php
Normal file
18
artichow/examples/tutorials/AntiSpam/spam.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
require_once '../../../AntiSpam.class.php';
|
||||
|
||||
// On créé l'image anti-spam
|
||||
$object = new AntiSpam();
|
||||
|
||||
// La valeur affichée sur l'image fera 5 caractères
|
||||
$object->setRand(5);
|
||||
|
||||
// On assigne un nom à cette image pour vérifier
|
||||
// ultérieurement la valeur fournie par l'utilisateur
|
||||
$object->save('example');
|
||||
|
||||
// On affiche l'image à l'écran
|
||||
$object->draw();
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue