A comprehensive web-based member management system for Gelos Enterprises, demonstrating proficiency in full-stack web development. This project showcases practical implementation of user authentication, role-based access control, and data management using PHP and web technologies.
Test the application with these credentials:
Regular User Access:
Username: demo_user
Password: Demo123!
Admin Access:
Username: admin
Password: Admin123!
telos-member-management/
βββ admin/ # Admin-specific functionality
β βββ admin.php # Admin dashboard
β βββ adminlogin.php # Admin login interface
β βββ adminprocess.php # Admin authentication logic
β βββ admin.txt # Admin credentials storage
βββ auth/ # User authentication
β βββ login.php # User login interface
β βββ register.php # User registration
β βββ logout.php # Session termination
β βββ accounts.txt # User credentials storage
βββ includes/ # Common components
β βββ header.php # Common header with navigation
β βββ footer.php # Common footer
βββ marks/ # Marks management
β βββ marks.php # Marks input interface
β βββ processMarks.php # Marks calculation logic
βββ css/ # Styling
β βββ style.css # Global styles
βββ images/ # Asset storage
βββ *.png # UI assets
// Password validation with multiple requirements
$hasNumber = preg_match('/[0-9]/', $UserPass);
$hasLower = preg_match('/[a-z]/', $UserPass);
$hasUpper = preg_match('/[A-Z]/', $UserPass);
$hasSpecial = preg_match('/[!@#$%^&*()_+{}[\]<>?]/', $UserPass);
if (!$hasNumber || !$hasLower || !$hasUpper || !$hasSpecial) {
header("Location: register.php?error=3");
exit();
}if (session_status() === PHP_SESSION_NONE) {
session_start();
}
// Protected route check
if (!isset($_SESSION['username'])) {
header("Location: ../auth/login.php");
exit();
}// Calculate statistics
$total = array_sum($marks);
$average = $total / count($marks);
$highest = max($marks);
$lowest = min($marks);
// Grade calculation
if ($average >= 85) $grade = 'HD';
elseif ($average >= 75) $grade = 'D';
elseif ($average >= 65) $grade = 'C';
elseif ($average >= 50) $grade = 'P';
else $grade = 'F';
Clean and professional landing page with intuitive navigation
Secure registration form with password requirements
Real-time password validation and requirements display
Successful registration with welcome message
Error handling for existing username or invalid input
User-friendly login interface with error handling
Easy-to-use marks entry system
Comprehensive results display with statistics and grading
-
User Authentication System
- Secure login and registration functionality
- Session management for users
- Separate admin authentication portal
-
Role-Based Access Control
- Admin dashboard for system management
- User-specific content access
- Marks/grades management system
-
Responsive Design
- Mobile-friendly interface
- Clean and professional UI
- Consistent branding throughout
- Backend: PHP
- Frontend: HTML5, CSS3
- Data Storage: File-based system (
.txtfiles) - Session Management: PHP Sessions
- Secure user authentication with password hashing
- Form validation and sanitization
- Responsive navigation system
- Modular code structure
- Clean separation of concerns (login process, registration, admin functions)
- Protected admin access
- Session-based authentication
- Input validation and sanitization
- Secure password handling
- Intuitive navigation menu
- Professional branding integration
- Responsive layout
- Clear user feedback mechanisms
- Modular code organization
- Consistent coding style
- Error handling implementation
- Clean and maintainable codebase
-
Database Integration
- Migrate from file-based storage to a proper database system (MySQL/PostgreSQL)
- Implement proper data relationships and constraints
-
Enhanced Security
- Implement HTTPS
- Add CSRF protection
- Enhance password policies
- Add rate limiting for login attempts
-
Modern Framework Integration
- Consider migrating to a modern PHP framework (Laravel/Symfony)
- Implement MVC architecture
-
Frontend Enhancements
- Add JavaScript for dynamic interactions
- Implement form validation on the client side
- Add loading states and better user feedback
- Enhance mobile responsiveness
-
Additional Features
- Password reset functionality
- Email verification
- User profile management
- Activity logging
- Data export capabilities
This project demonstrates practical implementation of web development concepts including:
- User authentication and authorization
- Session management
- Form handling and validation
- File system operations
- Responsive web design
- Security best practices
This is a portfolio project but suggestions and feedback are welcome. Feel free to open issues or submit pull requests.
Note: This project was developed as part of TAFE NSW coursework and uses a fictitious organization for educational purposes.