File: examples/captcha/captcha_image.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/captcha/captcha_image.php  >  Download  
File: examples/captcha/captcha_image.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 569 bytes


Class file image Download
include 'config.php';
dirname(__FILE__) . '/../../A/autoload.php';
#include 'A/Session.php';
#include 'A/Rule/Captcha.php';

$session = new A_Session();
#echo "session_id=" . session_id() . '<br/>';

$captcha = new A_Rule_Captcha('captcha', 'CAPTCHA', null, $session, null);

#echo "<br/>Code=" . $captcha->getCode();

$image = new A_Rule_Captcha_Image($captcha);
#echo "<br/>Code=" . $captcha->getCode();


For more information send a message to info at phpclasses dot org.