Security image script

This is script designed for generating picture with random code.

You may use this script on your registration page.
So, if you use this feature - you are protected from autoregistrations.

Example of using:

<?php

require_once "security.lib.php";

//Generate random code.
$random_code generate_random_code(SP_KEY);

//Show picture
get_security_picture($random_code);


?>


 

  • Top