File: examples/blog/js/jquery-validate/demo/captcha/process.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/blog/js/jquery-validate/demo/captcha/process.php  >  Download  
File: examples/blog/js/jquery-validate/demo/captcha/process.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: 315 bytes
 

Contents

Class file image Download
<?php

// Begin the session
session_start();

// To avoid case conflicts, make the input uppercase and check against the session value
// If it's correct, echo '1' as a string
if(strtoupper($_GET['captcha']) == $_SESSION['captcha_id'])
    echo
'true';
// Else echo '0' as a string
else
    echo
'false';

?>

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