Code & Caffeine – Password Generator Project | Part 2

Code & Caffeine – Password Generator Project | Part 2

Green Tee Design – Code & Caffeine – Password Generator Project | Part 1

$0.00

Category:

Description

Welcome to the project breakdown! In this video, we built a custom password generator using the LAMP stack (Linux, Apache, MySQL*, PHP) with a focus on simplicity, customization, and usability.

✅ What We Built

A fully functional password generator with these features:

  • Customizable password length (from 4 up to 2048 characters!)

  • Options to include:

    • ✅ Uppercase letters

    • ✅ Lowercase letters

    • ✅ Numbers

    • ✅ Symbols

    • ✅ Accented characters (like é, ç, ñ, ü)

  • Generated password appears on the same page.

  • Password is displayed in a textarea to support long values.

  • A “Copy to Clipboard” button makes it easy to grab your password.

  • The form remembers your last settings after submission.

🧠 Tech Stack Used

  • PHP: Handles form submission and password generation logic.

  • HTML: Builds the form and UI.

  • CSS: Basic styling placed in /css/style.css.

  • JavaScript: Adds copy-to-clipboard functionality.

🔧 Features & Improvements

  • Secure random_int() used for character selection.

  • Clean UI with form validation and error handling.

  • Lightweight and fully local — no database needed.

  • Optimized for future expansion (password strength, save history, etc.)

    🗂 Folder Structure /password-generator ├── index.php ← main logic & UI ├── css/ │ └── style.css ← styles for layout and form

    📌 Run it Locally

    1. Place the project in your web server’s root directory (/var/www/html on Linux).

    2. Visit http://localhost/password-generator/ in your browser.

    3. Use, test, and copy your strong custom passwords!

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *