Complete Installation Guide
Version 1.0 | PHP 8+ | MySQL | cPanel Compatible
course-platform/
├── admin/ # Admin Panel
│ ├── login.php # Admin Login
│ ├── dashboard.php # Admin Dashboard
│ ├── courses.php # Course Management
│ ├── course-add.php # Add Course
│ ├── course-edit.php # Edit Course
│ ├── modules.php # Module & Lesson Management
│ ├── lesson-add.php # Add Lesson
│ ├── lesson-edit.php # Edit Lesson
│ ├── payments.php # Payment Management
│ ├── students.php # Student Management
│ ├── testimonials.php # Testimonials
│ ├── proofs.php # Student Proofs
│ ├── settings.php # Site Settings
│ ├── analytics.php # Analytics & UTM Tracking
│ ├── logout.php # Admin Logout
│ └── partials/ # Admin Header/Footer
├── includes/ # Core PHP Files
│ ├── config.php # Configuration
│ ├── database.php # Database Connection
│ ├── functions.php # Core Functions
│ ├── auth.php # Authentication
│ └── tracking.php # Analytics Tracking
├── css/
│ └── style.css # Main Stylesheet
├── js/
│ └── main.js # Main JavaScript
├── uploads/ # File Uploads Directory
├── images/ # Static Images
├── assets/ # Additional Assets
├── index.php # Landing Page
├── login.php # Student Login
├── register.php # Student Registration
├── forgot-password.php # Password Reset
├── dashboard.php # Student Dashboard
├── course-player.php # Video Player
├── checkout.php # Payment Checkout
├── profile.php # Student Profile
├── mark-complete.php # Lesson Completion
├── logout.php # Student Logout
├── database.sql # MySQL Database
├── .htaccess # SEO & Security
└── install.html # This Guide
course_platform)database.sql from your downloaded filespublic_html (or www)uploads/ folder has write permissions (755)public_html/course/), you'll need to update SITE_URL in includes/config.php.
Open includes/config.php and update these values:
define('DB_HOST', 'localhost'); // Usually 'localhost' on cPanel
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASS', 'your_database_password');
define('SITE_URL', 'https://yourdomain.com'); // Your website URL
Ensure the following directories are writable:
/uploads/ - 755 or 777/uploads/courses/ - 755/uploads/testimonials/ - 755/uploads/proofs/ - 755/uploads/settings/ - 755You can set permissions in cPanel File Manager (right-click → Change Permissions) or via FTP.
https://yourdomain.comerror.log in the root directoryAdmin Panel URL:
https://yourdomain.com/admin/login.php
Default Admin Credentials:
Username: admin
Email: admin@courselanding.com
Password: admin123
Go to Admin → Settings to set:
Go to Admin → Courses → Add Course
Go to Admin → Courses → Click Modules icon
Go to Admin → Testimonials / Student Proofs
Go to Admin → Payments
Premium dark UI, hero section, video intro, curriculum, testimonials, FAQ, CTA
Registration, Login, Forgot Password, Profile Management
Manual payment verification with admin approval
My Courses, Progress Tracking, Video Player, Payment History
Full CRUD: Courses, Modules, Lessons, Payments, Students, Settings
Facebook Pixel, TikTok Pixel, Google Analytics, UTM Tracking
Mobile-first design, sticky buy button
SQL injection protected, CSRF, XSS, Password hashing
error.log in root. Ensure PHP 8+ is enabled. Check database credentials in includes/config.php..htaccess is compatible with your server (rename to .htaccess.bak to test).uploads/ folder permissions (755 or 777). Check PHP upload limits in .htaccess.admin123. If changed, reset via database in phpMyAdmin using password_hash('newpass', PASSWORD_DEFAULT).🎉 Installation Complete! Your Online Course Selling Platform is ready.
Need help? Contact your developer or check the documentation.
Thank you for choosing this platform