Sei sulla pagina 1di 3

User Profile Generation System

Version 1

OVERVIEW
Generate Profile system, where admin can add any user and manage the his profile.

GOALS
1. Full sql injection system.
2. Proper form validation
3. Simple Design
4. Admin can ban / unban any user
5. A user who login, can update his profile.

Registration Fields
Field Name Validation

Email (txt) Required, enter only email


Password (txt) Max 8 Chrs, Min 3 Chrs, One chr must be capital
Confirm Password (txt) Required, Match the password field
Other Validation
➢ Checks if email exists in the database, generate error
➢ Password must not be any empty space.

Profile Fields
Field Name Validation

First Name (txt) Max 12 Chrs, Min 3 Chrs, Required, enter only text
Last Name (txt) Max 12 Chrs, Min 3 Chrs, optional enter only text
Father Name (txt) Max 15 Chrs, Min 3 Chrs, Required, enter only text
Mother Name (txt) Max 12 Chrs, Min 3 Chrs, Required, enter only text
Date of Birth (calendar) Required, Enter only date format
Age (disabled field) Auto Calculate on the base of date entered by user
Gender (radio box) Required
Star (dropdown list) Optional
Status (dropdown list) Required
Height (dropdown list) Required
Weight (dropdown list) Optional
Education (dropdown list) Required
City (txt) Required, enter only chrs
Mobile (txt) Required, enter only numbers
Picture (file) Required, Upload only image (png, jpg, gif), Image size must be
not greater than 100 KB, and image dimension should be less
than 300 x 300

Other Validation
➢ Age must be greater than or equal to 18

Login Page
Field Name Validation

Email (txt) Required, Enter only email


Password (password) Match the password with database

Other Validation
➢ Checks if email & password is valid.
➢ If admin bans any user, so login process must be unsuccessful.

Userpanel
➔ Dashboard, shows his full record.
➔ Update his profile.
➔ Update his password.

Update Password
Field Name Validation

Old Password (password) Required, enter current password


New Password (password) Required, Max 8 Chrs, Min 3 Chrs, One chr must be capital
Confirm Password (password) Required, Match with new password.
Other Validation
➢ Checks if old password is valid.
➢ Checks new and confirm passwords are same.
➢ Password must not be any empty space..

Admin Side
➢ Admin can add, delete, update any user.
➢ Delete any user
➢ Ban any user.
➢ Search the user.
○ By id, Name, Father Name, Mother Name
○ Make Advanced Search
■ By Age Range (can be all), Gender (can be both), Star (can be any), Height
Range (can be any), Weight Range (can be any), Education (can be any),
City (can be any), Status (can be any)
○ Sort the record by
■ Alphabetical Name wise (ASC , DESC)
■ List having pic or not
■ DOB wise (ASC , DESC)
■ Gender Wise (Male, Female)
■ Status Wise (for example first all record are about married, then single)
■ City Wise
■ Age Wise (ASC, DESC)
■ Height Wise (ASC, DES,)

Potrebbero piacerti anche