Magento Expert Forum - Improve your Magento experience

Results 1 to 5 of 5

A simple php captcha script

  1. #1
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    261
    Thanks
    22
    Thanked 42 Times in 34 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
    124
    Thanks
    9
    Thanked 26 Times in 17 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
    16
    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.

  6. #5
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    228
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    A Simple CAPTCHA Script Using PHP. CAPTCHA means "Totally Automated Public Turing test to distinguish Computers and Humans One from the other", it's regular usefulness to use at the season of submit information to anticipate machines access of your site.

Similar Threads

  1. Simple uploader Using PHP
    By speed2x in forum PHP programming
    Replies: 2
    Last Post: 22-04-2019, 09:48 AM
  2. BJ Synegy - Clean and simple Joomla template
    By flamefox15 in forum Joomla
    Replies: 3
    Last Post: 16-03-2015, 08:42 AM
  3. PHP download manager simple - force downloading
    By shunavi in forum PHP programming
    Replies: 5
    Last Post: 06-08-2014, 12:53 PM
  4. How do I Solve This Simple Magento JQuery Problem!
    By indusstar777 in forum Programming Questions
    Replies: 4
    Last Post: 14-06-2013, 08: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, 09: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
  •