[ Index ]
 

Code source de jpGraph 2.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/src/Examples/ -> antispamex01.php (source)

   1  <?php
   2  // Antispam example using a random string
   3  require_once  "../jpgraph_antispam.php";
   4  
   5  // Create new anti-spam challenge creator
   6  // Note: Neither '0' (digit) or 'O' (letter) can be used to avoid confusion
   7  $spam = new AntiSpam();
   8  
   9  // Create a random 5 char challenge and return the string generated
  10  $chars = $spam->Rand(5);
  11  
  12  // Stroke random cahllenge
  13  if( $spam->Stroke() === false ) {
  14      die('Illegal or no data to plot');
  15  }
  16  
  17  ?>
  18  


Généré le : Sat Nov 24 09:27:55 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics