{"id":25213918,"url":"https://github.com/nathaniel1024/php-login-registration-system","last_synced_at":"2026-05-11T05:41:38.574Z","repository":{"id":276585337,"uuid":"929704852","full_name":"Nathaniel1024/PHP-Login-Registration-System","owner":"Nathaniel1024","description":"A secure login and registration system built with PHP, MySQL, HTML, and CSS. This project includes user authentication, password hashing, session management, and a \"Forgot Password\" feature using PHPMailer to send reset links via Gmail.","archived":false,"fork":false,"pushed_at":"2025-02-09T07:38:53.000Z","size":915,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T08:23:13.703Z","etag":null,"topics":["css","gmail-smtp","html","mysql","php","phpmailer","responsive-design","smtp","sql"],"latest_commit_sha":null,"homepage":"http://feifei.infinityfreeapp.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nathaniel1024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-09T07:19:13.000Z","updated_at":"2025-02-09T07:41:24.000Z","dependencies_parsed_at":"2025-02-09T08:23:51.681Z","dependency_job_id":"8b6abbaf-d541-4e56-b563-958fc0be7e89","html_url":"https://github.com/Nathaniel1024/PHP-Login-Registration-System","commit_stats":null,"previous_names":["nathaniel1024/php-login-registration-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathaniel1024%2FPHP-Login-Registration-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathaniel1024%2FPHP-Login-Registration-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathaniel1024%2FPHP-Login-Registration-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nathaniel1024%2FPHP-Login-Registration-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nathaniel1024","download_url":"https://codeload.github.com/Nathaniel1024/PHP-Login-Registration-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247307798,"owners_count":20917547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","gmail-smtp","html","mysql","php","phpmailer","responsive-design","smtp","sql"],"created_at":"2025-02-10T16:57:58.829Z","updated_at":"2026-05-11T05:41:38.524Z","avatar_url":"https://github.com/Nathaniel1024.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP-Login-Registration-System\nA secure login and registration system built with PHP, MySQL, HTML, and CSS. This project includes user authentication, password hashing, session management, and a \"Forgot Password\" feature using PHPMailer to send reset links via Gmail.\n\n## Features\n- User Registration with secure password hashing\n- Login authentication with session management\n- Forgot Password functionality using PHPMailer\n- Email verification for password reset\n- Mobile-friendly responsive design\n- Secure input validation and error handling\n\n## Technologies Used\n- **Backend:** PHP\n- **Database:** MySQL\n- **Frontend:** HTML, CSS\n- **Email Handling:** PHPMailer (SMTP with Gmail)\n\n## Installation\n1. Clone this repository:\n   ```sh\n   git clone https://github.com/nathaniel1024/PHP-Login-Registration-System.git\n\n- Use the following SQL script to create the `users` and 'password_resets' table:\n\n     ```sql\n  CREATE TABLE `table_name`.`users` (\n        `id` INT NOT NULL AUTO_INCREMENT ,\n        `name` VARCHAR(255) NOT NULL ,\n        `email` VARCHAR(255) NOT NULL ,\n        `password` VARCHAR(255) NOT NULL ,\n        PRIMARY KEY (`id`),\n        UNIQUE (`email`)\n     ) ENGINE = InnoDB;\n\n  CREATE TABLE `table_name`.`password_resets` (\n        `id` int(11) NOT NULL,\n        `email` varchar(255) NOT NULL,\n        `token` varchar(100) NOT NULL,\n        `expires` datetime(6) NOT NULL\n     ) ENGINE = InnoDB;\n\n### Desktop View\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/b6b56934-a2e5-499a-85a7-d45f788e2550\" alt=\"Desktop 1\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/9256edfb-81f5-4ca4-ba07-459bc4e7386d\" alt=\"Desktop 2\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/f1976a88-3431-4715-9997-c7f70c6e6edf\" alt=\"Desktop 3\" /\u003e\n\u003c/p\u003e\n\n### Mobile View\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/02e340de-aad9-4fdf-89cf-340a8a9b4b68\" alt=\"Mobile 1\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/d6bcca50-5ab9-4954-8732-d61beef7acf1\" alt=\"Mobile 2\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/0e110cc4-9805-45fe-9100-d4a1e40c333f\" alt=\"Mobile 3\" /\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathaniel1024%2Fphp-login-registration-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathaniel1024%2Fphp-login-registration-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathaniel1024%2Fphp-login-registration-system/lists"}