This project is a user registration system developed using PHP. It allows users to register by providing personal details and validates the input data both client-side and server-side. The system ensures unique usernames, handles image uploads, and integrates with the IMDb API to display actors born on the same day as the user's birthdate.
- User Registration Form: Allows users to register by providing personal details including full name, username, birthdate, phone, address, password, confirm password, user image, and email.
- Client-side Validation: Ensures all form fields are mandatory and have correct data types. Passwords must match, be at least 8 characters long, and contain at least one number and one special character.
- Server-side Validation: Checks if the username is already registered before allowing submission.
- Image Upload: Uploads user image to the server, storing the image name in the database.
- IMDb API Integration: Allows users to check actors born on the same day as their birthdate using the IMDb API.
-
Clone the repository:
git clone https://github.com/your/repository.git
-
Set up your database in the
DB_Ops.php
file:$dbServer = "localhost"; $username = "root"; $password = ""; $dbName = "yourdbname";
-
Run the project:
- Start XAMPP and MySQL admin.
- Open the project in your browser:
http://localhost/foldername/pages/index.php