A professional PHP-based user registration and management system with a clean, modern black and white interface. This project provides secure user registration, password hashing, and a comprehensive admin dashboard for user management.
- Secure User Registration - Collects first name, last name, email, gender, and password
- Password Security - MD5 hashing for password storage
- Email Validation - Built-in email format validation
- Professional UI - Clean black and white design with responsive layout
- Mobile Responsive - Works seamlessly on all devices
- Secure Admin Login - Session-based authentication system
- User Statistics - Real-time dashboard with user metrics
- User Management - View, edit, and delete registered users
- Search Functionality - Real-time user search
- Analytics - Track total users, daily registrations, and gender demographics
- Timestamp Tracking - Automatic registration date/time logging
- Backend: PHP 7.4+
- Database: MySQL/MariaDB
- Frontend: HTML5, CSS3, JavaScript
- Styling: Custom CSS with professional black and white theme
- Security: Session management, input validation, password hashing
- PHP 7.4 or higher
- MySQL/MariaDB database
- XAMPP/WAMP/LAMP stack (or similar web server environment)
Create a MySQL database named student_db:
CREATE DATABASE student_db;The database connection is pre-configured in connection.php:
$host = 'host name';
$dbname = 'data base name';
$username = 'user name';
$password = 'password';Update the credentials if needed.
βββ connection.php # Database connection and table setup
βββ signup.php # User registration form
βββ create.php # User creation processing
βββ admin.php # Admin login page
βββ dashboard.php # Admin dashboard
βββ edit_user.php # User editing interface
βββ delete_user.php # User deletion processing
βββ admin.txt # Admin credentials file
βββ README.md # This documentation
- User Registration:
http://localhost/db/signup.php - Admin Login:
http://localhost/db/admin.php
- Username:
admin - Password:
admin123
Note: Credentials are stored in admin.txt for easy reference
- Total Users: Complete user count
- Today's Registrations: Users registered today
- Gender Demographics: Male/Female user breakdown
- View All Users: Sortable table with complete user data
- Edit Users: Modify user information (name, email, gender)
- Delete Users: Remove users with confirmation dialog
- Search Users: Real-time search across all user fields
- Add New User: Quick link to registration form
- Logout: Secure session termination
The system automatically creates a users table with the following structure:
CREATE TABLE users (
id INT(11) AUTO_INCREMENT PRIMARY KEY,
fname VARCHAR(50) NOT NULL,
lname VARCHAR(50) NOT NULL,
email VARCHAR(100) NOT NULL UNIQUE,
gender VARCHAR(10),
password VARCHAR(255) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);- Minimalist Approach: Clean, distraction-free interface
- Professional Aesthetics: Strict black and white color scheme
- User Experience: Intuitive navigation and clear visual hierarchy
- Responsive Design: Optimized for all screen sizes
- Accessibility: Semantic HTML and clear contrast ratios
- Session Management: Secure admin authentication
- Input Validation: Form data sanitization
- Password Hashing: MD5 encryption for password storage
- SQL Injection Prevention: Prepared statements (recommended for production)
- Access Control: Admin-only areas protected by sessions
- Start XAMPP services (Apache & MySQL)
- Place project files in
htdocs/db/ - Access via
http://localhost/db/
- Replace MD5 with
password_hash()for better security - Implement prepared statements for SQL queries
- Add HTTPS/SSL certificate
- Configure proper error logging
- Set up database backups
- Implement rate limiting
- User Registration: Users fill out the registration form
- Data Processing: Form data is validated and stored in database
- Admin Access: Administrators log in to manage users
- User Management: Admin can view, edit, or delete users
- Analytics: Dashboard provides real-time user statistics
Database Connection Error
- Verify MySQL service is running
- Check database credentials in
connection.php - Ensure database
student_dbexists
Admin Login Not Working
- Clear browser cookies/cache
- Verify session settings in PHP
- Check file permissions
Registration Not Saving
- Verify database table exists
- Check MySQL user permissions
- Review error logs
Add this to connection.php for debugging:
ini_set('display_errors', 1);
error_reporting(E_ALL);- Email verification system
- Password reset functionality
- Two-factor authentication
- User profile system
- Role-based permissions
- API endpoints
- Data export functionality
- Advanced analytics
- Multi-language support
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is open source and available under the MIT License.
Built with β€οΈ using PHP, MySQL, and modern web standards.
For issues and questions:
- Create an issue in the repository
- Review the troubleshooting section
- Check the database connection settings
Project Status: β
Production Ready
Last Updated: 2026
Version: 1.0.0