CineBase - PHP Movie and TV Discovery Platform

Description
Full PHP Application with Content Management, Monetization & Security Suite
🚀 Overview
CineBase is a complete, self-hosted movies-and-TV-shows discovery website built in plain PHP and MySQL — no framework, no build step, and no Composer dependencies. It runs on ordinary shared hosting (developed and tested on Namecheap shared hosting) as easily as on a VPS. The site pulls live data from TMDB and enriches it with ratings from OMDb (IMDb score, Rotten Tomatoes, Metascore), caching everything in its own database for maximum speed and minimal API overhead. A background sync process keeps Trending, Popular, Top Rated, and Upcoming lists fresh automatically. On top of the public-facing site sits a full Admin Panel — no phpMyAdmin or file editing required for day-to-day operation. Every piece of content, API key, and visual detail (logo, menus, footer, item counts) is editable directly from the browser.
Features
Demo : https://cinebase.nbiliboss.space/login.php Admin : Demo / Demo@123
🌐 Public Site Features
🔍 Browsing & Discovery
- 🏠 Homepage: Featured hero banner, Trending Now, Popular TV Shows, Top Rated chart, Coming Soon, and a manually curated Editor's Picks row
- 🏷️ Quick Filters: Genre quick-filters on the homepage
- 📄 Dedicated Browse Pages: Movies, TV Shows, Top Rated, and Upcoming (all paginated)
- 🎛️ Advanced Live Filters: Filter by Year, Minimum Rating, and Sort By (Most Popular / Highest Rated / Newest)
- 🔎 Live Search: Instant dropdown searching the local catalog first, backed by a full search results page that falls back to live TMDB queries
- ⚙️ Custom Layout Counts: Admin-configurable item counts for every homepage row and browse page
📑 Detail Pages
- 🎬 Comprehensive Metadata: Full movie/TV detail pages with backdrop, poster, overview, genres, runtime/seasons, and release status
- ⭐️ Multi-Source Ratings: TMDB score, IMDb rating, Rotten Tomatoes %, and Metascore side-by-side
- ▶️ Trailers: Embedded YouTube video player
- 🎭 Top Cast & Filmographies: Cast member profiles (
person.php) displaying biographies, birthplaces, and verified movie/TV credits (automatically filtering out talk-show appearances, awards cameos, and uncredited archive footage) - 💡 Smart Recommendations: "You Might Also Like" section
- 📲 Social Sharing: Direct integration for X (Twitter), Facebook, WhatsApp, and Copy Link
- 🔍 Automated SEO: Open Graph tags and meta descriptions generated directly from each title's metadata
👤 Accounts & Personalization
- 🔐 Authentication: Email/password registration and login with built-in spam protection
- 🔖 Personal Watchlist: Quick add/remove functionality from any detail page or homepage hero
- 🌐 Public Shareable Watchlist: Opt-in toggle generating a public, read-only link (
profile.php?id=...) - 🔑 Account Recovery: Password reset flow via emailed token (valid for 1 hour, single-use)
- ✉️ Newsletter Module: Popup form with admin-configurable display delays and frequency caps
📄 Content Pages
- ✉️ Contact Form: Includes a self-hosted math CAPTCHA (no third-party keys required)
- 📝 Custom CMS Pages: Create/edit pages (About, Privacy Policy, Terms of Service) via rich-text editor
- 💰 Monetization Placements: Fully optional ad zones across homepage rails, browse, and detail pages
✨ UX Details
- 🌙 Dark/Gold Theme: Fully responsive layout with mobile navigation and live search
- ⬆️ Navigation: Scroll-triggered back-to-top button
- 🛠️ Maintenance Mode: Customizable maintenance screen bypassable by logged-in admins
⚡ Admin Panel Features
All operations live behind a single, unified admin login (/admin/).
🔒 Built-In Security
- 🔑 Password Hashing: Native
password_hash()(bcrypt) standard. - 🛡️️ CSRF Protection: Secure token verification on state-changing requests.
- 💉 SQL Injection Prevention: 100% prepared statements (PDO) across all database interactions.
- 🧹 XSS Prevention: Comprehensive output escaping across all dynamic views.
- 🤖 Anti-Spam Controls:
- 🍯 Honeypot Trap: Invisible fields detecting automated bot submissions.
- ⏱️ Timing Trap: Threshold checks rejecting inhumanly fast form completions.
- 🧮 Self-Hosted Math CAPTCHA: Zero third-party tracking or external API dependencies.
- 🛑 Brute-Force Lockout: Throttles account access after 5 failed login attempts within 15 minutes.
- 📱 Native Admin 2FA: Native RFC 6238 TOTP support (compatible with Google Authenticator, Authy, etc.).
- 🎟️ Secure Token Handling: SHA-256 hashed password reset tokens with single-use expiration windows.
- 📁 Upload Safeguards: MIME/content validation on images paired with script-execution restriction rules in upload directories.
- 🔐 Session Isolation: Independent session checks securing admin paths from public user states.
Requirements
💻 System Requirements
- 🐘 PHP 8.0+ (with
curlandpdo_mysqlextensions enabled) - 🗄️ MySQL 5.7+ or MariaDB 10.0+
- 🌐 Web Server: Apache (with
.htaccesssupport), Nginx, LiteSpeed, or PHP built-in CLI server - 🔑 API Keys:
- 📡 Outbound HTTPS: Access enabled on hosting server to reach TMDB/OMDb endpoints
- 📦 Zero Build Dependencies: No Composer, Node.js, or build pipelines required
Instructions
🛠️ Step-by-Step Installation
- 🔑 Obtain API Keys Register at TMDB and OMDb to obtain your free API keys.
- 📤 Upload Files
Upload the repository folder to your web root (e.g.,
public_html/) via FTP or cPanel File Manager. - 🗄️ Provision Database Create a MySQL/MariaDB database and assign a user with full privileges.
- 📥 Import Schema
Execute and import
config/schema.sqlvia phpMyAdmin to construct the database tables. - ⚙️ Configure Application
Update
config/config.phpwith database credentials and yourSITE_URL. (API keys can be defined here or later inside the Admin Settings). - 👤 Initialize Admin Account
Navigate to
/admin/create-admin.php?key=YOUR_SYNC_SECRETusing the secret defined inconfig.php. - 🔄 Trigger Initial Sync Access the Admin Panel dashboard and click Sync Now to populate initial titles from TMDB.
- ⏰ Configure Cron (Optional) Set up a server cron job hitting the sync endpoint periodically to maintain automated list updates.
- 🎨 Personalize Site Upload logos, customize navigation menus, format footer columns, create CMS pages, and set ad parameters.
- 🚀 Go Live Deployment complete! Enable 2FA under admin security settings for additional system hardening.
| Author | ChiDev |
|---|---|
| Category | Scripts & Code / PHP Scripts / CMS |
| Price | $30 |
| Extended License | $90 |
| First Release | Oct 5, 2026 |
| Last Update | Oct 5, 2026 |
| Database | MySQL 8.0, MySQL 8.4 LTS, MySQL 9.x |
| Files included | .php, .css, .html, JavaScript .js |
| Software version | PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4, PHP 8.5 |
| Programming language | PHP, JavaScript |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Actionbook
It works inside the user's own browser with the accounts already signed in. The user describes the result they need, and the agent reads, clicks and types through the pages, then delivers a dashboard or report where each data links back to its source.
Other · 728 views · 10 clicksOther · Week 44 · 728 views · 10 clicks
🥈
Free social media tools for creators & solofounders
295 free tools for growing your social media: write, plan, grow on local AI models, 100% free forever, No sign-up required, No trial. Write, check and measure posts on LinkedIn, Instagram, TikTok, X, YouTube, Reddit, Product Hunt and more: a free social media scheduler for 17 networks, engagement rate calculators, character counters, best time to post, hook generators and follower growth calculators. No login anywhere, no API or credit usage.
697 views · 6 clicksWeek 44 · 697 views · 6 clicks
🥉
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 1,943 views · 21 clicksSaaS · Week 44 · 1,943 views · 21 clicks
#4
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 1,894 views · 17 clicksWebsite · Week 44 · 1,894 views · 17 clicks
#5
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
39,353 views · 211 clicksWeek 44 · 39,353 views · 211 clicks
#6
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
634 views · 11 clicksWeek 44 · 634 views · 11 clicks
#7
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
577 views · 4 clicksWeek 44 · 577 views · 4 clicks