A video streaming platform that offers exclusive content through tiered subscription models. Users can access premium videos by selecting from various membership tiers (Basic, Standard, Premium), each offering different levels of content and features.
- About
- Features
- Technologies
- Database Setup
- SMS Verification
- Payment Integration
- Login Credentials
- Project Structure
- Usage Guide
This platform provides a Netflix-style subscription service where:
- Users subscribe to access exclusive video content
- Multiple membership tiers offer different content levels
- Content creators can upload and monetize their videos
- Administrators manage users, content, and subscriptions
The platform ensures a consistent revenue stream through recurring subscriptions while providing users with curated, high-quality video content.
- Tiered Subscriptions: Basic, Standard, and Premium membership levels
- Video Streaming: Access to exclusive video content based on subscription tier
- User Authentication: Secure registration and login system
- Password Recovery: SMS-based verification via Twilio
- Payment Processing: PayPal sandbox integration for subscription payments
- Responsive Design: Optimized for both mobile and desktop viewing
- Content Management: Upload and manage video content
- User Management: Monitor and manage user subscriptions
- Analytics Dashboard: Track platform usage and revenue
- Single Admin System: Secure single-administrator setup
- Frontend: HTML, CSS, JavaScript
- Backend: PHP
- Database: MySQL
- Payment Gateway: PayPal Sandbox API
- SMS Service: Twilio API
- Local Development: XAMPP
- Import Database
- Open phpMyAdmin:
http://localhost/phpmyadmin - Create a new database (if not exists)
- Import the provided SQL file:
wintercat65_streamhub.sql - The database contains all necessary tables for users, admins, subscriptions, and password resets
- Open phpMyAdmin:
The platform uses Twilio for sending SMS verification codes during password reset.
** Important Limitations:**
- Currently using a free Twilio account with limited capacity
- Only one verified number:
deno number(without country code) - This number is associated with username:
demo - SMS delivery may not always be reliable due to free tier limitations
If you don't receive the verification code:
- Wait a few minutes - SMS delivery may be delayed
- Check network connection - Ensure stable connectivity
- Manual retrieval from database:
- Navigate to: localhost/phpmyadmin - Open database: wintercat65_streamhub - Go to table: passwordreset - Find the code for your username - Note: Codes expire after 10 minutes
The platform uses PayPal sandbox for demonstration purposes. No real money is exchanged.
Test Credentials:
Email: sb-9gp7n34269285@personal.example.com
Password: x@:o70EZ
- Select "PayPal" during checkout
- Use the sandbox credentials above
- Complete the demo payment
- Account is registered and redirected to login page
Alternative: You can sign up without PayPal by selecting other payment options during registration.
Registration Page: localhost/register.html
Login Page: localhost/login.html
Demo User Accounts:
| Account Type | Username | Password |
|---|---|---|
| Basic | basic | admin123 |
| Standard | standard | admin123 |
| Premium | premium | admin123 |
Registration Page: localhost/admin_register.php
Login Page: localhost/admin/login.html
Admin Credentials:
Username: admin
Password: admin123
- Only one admin account can exist
- If an admin already exists, registration will be closed
- To create a new admin, manually delete the existing one from the
admintable in the database
main project/
βββ admin/ # Admin panel files
βββ admin-css/ # Admin stylesheets
βββ admin-js/ # Admin JavaScript files
βββ images/ # Image assets
βββ php/ # PHP backend files
βββ uploads/ # User uploads directory
β βββ videos/ # Video storage
βββ user-css/ # User interface stylesheets
βββ user-js/ # User interface JavaScript
βββ login.html # User login page
βββ register.html # User registration page
βββ admin_register.php # Admin registration
βββ wintercat65_streamhub.sql # Database file
- Navigate to
localhost/register.html - Choose a subscription tier (Basic/Standard/Premium)
- Complete registration with payment method
- Login at
localhost/login.html - Access video content based on your subscription tier
- Access admin panel at
localhost/admin/login.html - Use admin credentials to login
- Upload and manage video content
- Monitor user subscriptions
- View platform analytics
- Click "Forgot Password" on login page
- Enter your username
- Enter phone number (use
demo numberfor testing) - Receive SMS verification code
- Enter code to reset password
- If SMS fails, retrieve code manually from database
| Tier | Features | Content Access |
|---|---|---|
| Basic | Standard quality streaming | Limited video library |
| Standard | HD quality streaming | Extended video library |
| Premium | 4K quality streaming | Full video library + exclusive content |
- SMS verification limited to one phone number due to Twilio free tier
- PayPal sandbox may occasionally fail (demo environment)
- Only one admin account supported at a time
- Video upload size limited by PHP configuration
- This is a demonstration/educational project
- PayPal integration uses sandbox environment only
- SMS features require Twilio account configuration
- Ensure XAMPP services are running before accessing the platform




