# Learning Management System
A modern and feature-rich Learning Management System (LMS) built with PHP and MySQL.
## Features
- Modern and responsive admin dashboard
- Course management system
- User management (Admin, Instructor, Student roles)
- Course enrollment system
- Payment integration
- Assignment and submission system
- Category management
- Settings management
## Requirements
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Apache/Nginx web server
- mod_rewrite enabled (for Apache)
- PHP extensions:
- mysqli
- json
- mbstring
- gd
- curl
## Installation
1. Clone or download this repository to your web server directory.
2. Create a new MySQL database for the application.
3. Configure your web server to point to the project directory.
4. Visit `http://your-domain/install.php` in your web browser.
5. Follow the installation wizard:
- Enter your database credentials
- The system will create all necessary tables
- Default admin credentials:
- Username: admin
- Password: admin123
6. After successful installation, delete or rename the `install.php` file for security.
## Default Admin Account
- Username: admin
- Password: admin123
**Important**: Please change the default admin password after first login!
## Directory Structure
```
├── admin/ # Admin panel files
├── assets/ # CSS, JS, images, etc.
├── config/ # Configuration files
├── includes/ # PHP includes and functions
├── student/ # Student panel files
└── uploads/ # Uploaded files
```
## Security
- All passwords are hashed using PHP's password_hash() function
- SQL injection prevention using prepared statements
- XSS prevention using htmlspecialchars()
- CSRF protection
- Secure session handling
## Support
For support, please create an issue in the repository or contact the administrator.
## License
This project is licensed under the MIT License - see the LICENSE file for details.