Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

A simple php captcha script

  1. #1
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    260
    Thanks
    23
    Thanked 40 Times in 33 Posts

    Default A simple php captcha script

    This is one of the easiest CAPTCHA scripts you will ever use. While it doesn’t obscure the text, it will serve its purpose well for many people who need a low-level CAPTCHA solution. This script requires little-to-no setup. The only dependency is the PHP GD library.
    Example CAPTCHA image:

    It can be as simple as this to use, but it is also configurable:

    <?php

    session_start();

    include
    ("captcha.php");

    $_SESSION
    ['captcha'] = captcha();

    echo
    '<img src="' . $_SESSION['captcha']['image_src'] . '" alt="CAPTCHA" />';

    ?>

    Features:


    • Use one or more PNG backgrounds
    • Use one or more TTF or OTF fonts
    • Set minimum/maximum code lengths (or optionally set the code itself)
    • Configure which characters to use
    • Set minimum/maximum font size
    • Adjustable angle, font color, and shadow
    • Includes the free font “Times New Yorker” (for demo purposes) and a sample background image (default.png)


    Detail and download https://github.com/claviska/simple-php-captcha

    View more threads in the same category:


  2. The Following 2 Users Say Thank You to david For This Useful Post:

    phuc2x (24-03-2013),shunavi (21-03-2013)

  3. #2
    Moderator shunavi's Avatar
    Join Date
    Mar 2013
    Posts
    130
    Thanks
    10
    Thanked 29 Times in 15 Posts

    Default

    Good share, maybe it 's better than using google recaptcha because it 's too difficult for normal user

  4. #3
    Junior Member phuc2x's Avatar
    Join Date
    Mar 2013
    Posts
    18
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    Thanks david, it save my time.

  5. #4
    New member
    Join Date
    Jun 2013
    Location
    Noida, India
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Captcha coding of PHP is really best for improvement of developers. All PHP developers can not resolve this issue easily so you can hire best PHP developers from CSS chopper in India. Your captcha coding doubt clear easily via doing this process.

Similar Threads

  1. BJ Synegy - Clean and simple Joomla template
    By flamefox15 in forum Joomla
    Replies: 3
    Last Post: 16-03-2015, 09:42 AM
  2. PHP download manager simple - force downloading
    By shunavi in forum PHP programming
    Replies: 5
    Last Post: 06-08-2014, 01:53 PM
  3. Simple uploader Using PHP
    By speed2x in forum PHP programming
    Replies: 0
    Last Post: 14-07-2013, 06:19 AM
  4. How do I Solve This Simple Magento JQuery Problem!
    By indusstar777 in forum Programming Questions
    Replies: 4
    Last Post: 14-06-2013, 09:37 AM
  5. Native captcha for your form in Magento 1.7
    By speed2x in forum Webmaster & Administrator
    Replies: 0
    Last Post: 31-03-2013, 10:19 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •