server-php-micro-captcha-securityCode.php / php
<?php session_start(); height = 40; baseList = '0123456789abcdfghjkmnpqrstvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; counter = 0; width, i=0; i++ ) { imageline(width), mt_rand(0,width), mt_rand(0,image, mt_rand(150,255), mt_rand(150,255), mt_rand(150,255))); } for( x=0; length; actChar = substr(baseList)-1), 1); image, mt_rand(3,5), actChar, imagecolorallocate(code .= strtolower(image); imagedestroy(_SESSION['securityCode'] =
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.