Skip to content

A simple JavaScript-Base CAPTCHA generator that creates random alphabetic codes to prevent automated form submissions. Ideal for use in basic form validation and spam protection.

Notifications You must be signed in to change notification settings

Anni-16/Captcha-Code-Alphabet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ CAPTCHA Code (Alphabet Only) – JavaScript

A simple, lightweight PHP CAPTCHA generator that creates random alphabetic codes for securing your HTML forms. This script helps protect against spam bots by displaying image-based verification using randomly generated alphabets.

πŸ–ΌοΈ Screenshot


πŸ” How It Works

  • captcha.php dynamically generates a random 5-letter string.
  • It creates an image using the GD library and outputs it as a PNG.
  • The string is stored in a session variable to validate against user input.

🧠 SEO Keywords

PHP CAPTCHA, alphabet CAPTCHA, PHP CAPTCHA form validation, PHP image verification, CAPTCHA anti-spam PHP, captcha.php, PHP form protection, letter-based CAPTCHA, simple CAPTCHA for website


πŸ” Features

  • βœ… Generates CAPTCHA with random alphabets
  • πŸ–ΌοΈ Outputs image-based verification code
  • πŸ” Helps prevent automated form submissions (bots)
  • πŸ’‘ Easy to integrate into any PHP form
  • πŸ“¦ No external dependencies

πŸš€ Live Demo

Link :- View the demo by cloning and running the code locally.


πŸ“ Project Structure

Captcha-Code-Alphabet/ β”‚ β”œβ”€β”€ captcha.php # Generates the CAPTCHA image β”œβ”€β”€ index.php # Sample form with CAPTCHA └── style.css # Optional styling (if present)


🧰 Requirements

  • JavaScript ES6 or higher
  • GD Library enabled (for image generation)

πŸ™Œ Credits

Developed by @Anni-16


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


βš™οΈ Installation & Usage

  1. Clone the Repository
    git clone https://github.com/Anni-16/Captcha-Code-Alphabet.git
    cd Captcha-Code-Alphabet

About

A simple JavaScript-Base CAPTCHA generator that creates random alphabetic codes to prevent automated form submissions. Ideal for use in basic form validation and spam protection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published