Open andrew21-mch opened 3 months ago
pardon me sir ,are we backend with php together creating a branch for each issue assigned
a task should be assigned to you,
On Mon, 19 Aug 2024 at 08:32, Kewir Jewel @.***> wrote:
pardon me sir ,are we backend with php together creating a branch for each issue assigned
— Reply to this email directly, view it on GitHub https://github.com/skye8-tech/openFolio-v1-functional/issues/3#issuecomment-2295860274, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBYN7U6UZVAQOYYROYFBYDZSGNRJAVCNFSM6AAAAABMUEKTYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVHA3DAMRXGQ . You are receiving this because you authored the thread.Message ID: @.***>
@KewirJewel
Description:
This task involves creating the registration feature for the portfolio website, allowing new users to sign up by providing their details. The registration form must capture essential user information, validate the inputs, and securely store the user’s password using hashing techniques. Proper input validation and security measures will ensure a robust and secure registration process.
Steps to Complete:
Design the Registration Form:
register.php
) within thepublic/
directory to serve as the registration page.Implement Client-Side Validation:
Handle Form Submission:
register.php
file or another PHP script included via a POST request.users
table to prevent duplicates.Implement Server-Side Validation:
filter_var()
withFILTER_VALIDATE_EMAIL
.Hash the Password:
password_hash()
function to securely hash the user’s password before storing it in the database.Insert User Data into the Database:
users
table, ensuring the use of prepared statements to prevent SQL injection.Provide Feedback and Redirection:
Test the Registration Process:
Acceptance Criteria:
password_hash()
function before being stored in the database.