ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
Securimage Namespace Reference

Project: Securimage: A PHP class for creating and managing form CAPTCHA images
File: securimage.php
More...

Detailed Description

Project: Securimage: A PHP class for creating and managing form CAPTCHA images
File: securimage.php

Project: Securimage: A PHP class for creating and managing form CAPTCHA images
File: securimage_show.php

Project: Securimage: A PHP class for creating and managing form CAPTCHA images
File: securimage_play.php

Color object for Securimage CAPTCHA.

ChangeLog.

Copyright (c) 2013, Drew Phillips All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Any modifications to the library should be indicated clearly in the source code to inform users that the changes are not a part of the original software.

If you found this script useful, please take a quick moment to rate it.
http://www.hotscripts.com/rate/49400.html Thanks.

Securimage PHP CAPTCHA http://www.phpcaptcha.org/latest.zip Download Latest Version http://www.phpcaptcha.org/Securimage_Docs/ Online Documentation 2013 Drew Phillips Drew Phillips drew@.nosp@m.drew.nosp@m.-phil.nosp@m.lips.nosp@m..com 3.5.1 (June 21, 2013) 3.5.1Fix XSS vulnerability in example_form.php (discovered by Gjoko Krstic - gjoko.nosp@m.@zer.nosp@m.oscie.nosp@m.nce..nosp@m.mk) 3.5Release new versionMB string support for charlistModify audio file path to use language directoriesChanged default captcha appearance 3.2RC4Add MySQL, PostgreSQL, and SQLite3 support for database storageDeprecate "use_sqlite_db" option and remove SQLite2/sqlite_* functionsAdd new captcha type that displays 2 dictionary words on one imageUpdate examples 3.2RC3Fix canSendHeaders() check which was breaking if a PHP startup error was issued 3.2RC2Add error handler (https://github.com/dapphp/securimage/issues/15)Fix flash examples to use the correct value name for audio parameter 3.2RC1New audio captcha code. Faster, fully dynamic audio, full WAV support (Paul Voegler, Drew Phillips) http://voegler.eu/pub/audioNew Flash audio streaming button. User defined image and size supportedAdditional options for customizing captcha (noise_level, send_headers, no_exit, no_session, display_valueAdd captcha ID support. Uses sqlite and unique captcha IDs to track captchas, no session usedAdd static methods for creating and validating captcha by IDAutomatic clearing of old codes from SQLite database 3.0.3BetaAdd improved mixing function to WavFile class (Paul Voegler)Improve performance and security of captcha audio (Paul Voegler, Drew Phillips)Add option to use random file as background noise in captcha audioAdd new securimage options for audio files 3.0.2BetaFix issue with session variables when upgrading from 2.0 - 3.0Improve audio captcha, switch to use WavFile class, make mathematical captcha audio work 3.0.1Bugfix: removed use of deprecated variable in addSignature method that would cause errors with display_errors on 3.0Rewrite class using PHP5 OOPRemove support for GD fonts, require FreeTypeRemove support for multi-color codesAdd option to make codes case-sensitiveAdd namespaces to support multiple captchas on a single page or page specific captchasAdd option to show simple math problems instead of codesRemove support for mp3 files due to vulnerability in decoding mp3 audio filesCreate new flash file to stream wav files instead of mp3Changed to BSD license 2.0.2Fix pathing to make integration into libraries easier (Nathan Phillip Brink ohnob.nosp@m.inki.nosp@m.@ohno.nosp@m.publ.nosp@m.ishin.nosp@m.g.ne.nosp@m.t) 2.0.1Add support for browsers with cookies disabled (requires php5, sqlite) maps users to md5 hashed ip addresses and md5 hashed codes for securityAdd fallback to gd fonts if ttf support is not enabled or font file not found (Mike Challis http://www.642weather.com/weather/scripts.php)Check for previous definition of image type constants (Mike Challis)Fix mime type settings for audio outputFixed color allocation issues with multiple colors and background images, consolidate allocation to one functionAbility to let codes expire after a given length of timeAllow HTML color codes to be passed to Securimage_Color (suggested by Mike Challis) 2.0.0Add mathematical distortion to characters (using code from HKCaptcha)Improved session supportAdded Securimage_Color class for easier color definitionsAdd distortion to audio output to prevent binary comparison attack (proposed by Sven "SavageTiger" Hagemann [insecurity.nl])Flash button to stream mp3 audio (Douglas Walsh www.douglaswalsh.net)Audio output is mp3 format by defaultChange font to AlteHaasGrotesk by yann le corollerSome code cleanup 1.0.4 (unreleased)Ability to output audible codes in mp3 format to stream from flash 1.0.3.1Error reading from wordlist in some cases caused words to be cut off 1 letter short 1.0.3Removed shadow_text from code which could cause an undefined property error due to removal from previous version 1.0.2Audible CAPTCHA Code wav filesCreate codes from a word list instead of random strings 1.0Added the ability to use a selected character set, rather than a-z0-9 only.Added the multi-color text option to use different colors for each letter.Switched to automatic session handling instead of using files for code storageAdded GD Font support if ttf support is not available. Can use internal GD fonts or load new ones.Added the ability to set line thicknessAdded option for drawing arced lines over lettersAdded ability to choose image type for output Securimage CAPTCHA Class. 3.5 classes Drew Phillips drew@.nosp@m.drew.nosp@m.-phil.nosp@m.lips.nosp@m..com 3.0 2.0 classes This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Any modifications to the library should be indicated clearly in the source code to inform users that the changes are not a part of the original software.

If you found this script useful, please take a quick moment to rate it.
http://www.hotscripts.com/rate/49400.html Thanks.

Securimage PHP CAPTCHA http://www.phpcaptcha.org/latest.zip Download Latest Version http://www.phpcaptcha.org/Securimage_Docs/ Online Documentation 2012 Drew Phillips Drew Phillips drew@.nosp@m.drew.nosp@m.-phil.nosp@m.lips.nosp@m..com 3.5.1 (June 21, 2013)