Git Product home page Git Product logo

ieee-task's Introduction

User Signup and Login System

Signup.php

Description

This file provides a user interface for registering new users. It includes form validation for required fields such as first name, last name, username, password, verify password, and email. It ensures the following:

1- All fields are mandatory. 2- Validates username format (letters, numbers, underscores). 3- Password length must be at least 6 characters. 4- Validates email format. 5- Checks if the username or email already exists in the database before registration.

Usage

1- Ensure a MySQL database named 'users' exists. 2- Update the database credentials ('mysql:host=localhost;dbname=users', 'root') to match your environment. 3- Fill in the required details and click the 'Signup' button to create a new account. 4- If successful, a success message will be displayed; otherwise, any encountered errors will be shown.

Login.php

Description

This file provides a user interface for logging in. It verifies user credentials against the registered users in the database and grants access if the credentials match.

Usage

1- Ensure the MySQL database 'users' exists and contains registered users. 2- Update the database credentials ('mysql:host=localhost;dbname=users', 'root') to match your environment. 3- Enter a registered username and its corresponding password. 4- Click the 'Login' button to submit the credentials for validation. 5- If the credentials are correct, a success message will confirm successful login; otherwise, any encountered errors will be displayed.

ieee-task's People

Contributors

mahmoudreda66 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.