
I do not own right to music in background!
Set up the PHP CMS project structure by creating and organizing directories for public, admin, config, resources, templates, and layouts, enabling a dynamic site with user login and registration.
This is the only video that appears to be shaking. Hope you can follow. All other videos look good. I had to redo this video.
Set up dynamic frontend pages by loading front directory files based on the page parameter, including login and register, with a default home page when no page is provided.
Create a local database with PDO, connect securely, and design a normalized users table with id, name, username, email, and password, using prepared statements.
Learn to configure email sending within your PHP CMS by creating a free Mr. Trump account, obtaining SMTP credentials, and enabling verification emails on user signup.
Learn to validate user input on registration by handling form submission, validating username, email, and password, and managing errors before inserting into the database.
Insert a user into the database and send a verification email with an activation link, using prepared statements and a verification code.
Reset and seed the user table, register a test user with username and password in the database, verify via the confirmation link, then prepare admin tasks for categories and posts.
Set up the backend for the PHP CMS by configuring admin and public indices, changing the default page to the dashboard, and preparing container settings for front-end and back-end layouts.
Create categories in a dynamic PHP CMS by building a categories table, validating input, and checking for duplicate category names before insertion.
Read categories from the database and populate the category selector for posting. Validate inputs and handle image uploads to prepare creating a post with category, content, and image fields.
Add post data to the database with slug and content, enforcing a unique title to prevent duplicates, then move and save the uploaded image and confirm posting.
Read all categories from the database, filter non-deleted records, and display them in a table with trimmed names. Implement queries, security checks, and navigation to edit or delete actions.
Learn to read and display all posts from a database in a PHP CMS, including post titles, images, content, and category data, using queries and dynamic rendering.
Update category demonstrates handling create and edit flows using an identifier, updating or creating categories, with input sanitization, prepared statements, and cross-site scripting protection in a PHP CMS.
Build a dynamic post update feature in a PHP CMS that lets users edit posts with or without changing the image, and populates the form from the database.
Update post 2 explains how to edit and update a post in a PHP CMS, handling updates with or without images, validating image extensions, and unlinking the previous image.
Delete a category using a modal powered by a model API in a PHP CMS, wiring category links, Bootstrap modal, and server-side checks to confirm removal.
Learn to implement a soft delete for categories by updating a deleted_at timestamp, handling time data, using session messages, and navigating back to the categories page.
Explore implementing a modal API delete post workflow in a PHP CMS, including delete confirmations, post vs. trust post routing, and category handling.
Learn how to read and update category data in a PHP CMS by validating identifiers, checking category existence, and performing updates to restore the trust category.
Learn how to read and update a post to restore it in a php cms, including selecting it, validating its existence, and applying changes to the post table.
Learn page create, read, update, delete operations by building a page table with title, image, and content, including created timestamps, and preparing for front-end authentication using sessions in next lecture.
Learn how to use session-based flash messages and social alerts for success and redirection in a PHP CMS, enabling cross-page messaging and two-step authentication preparation.
Implement two-step authentication by validating login credentials, verifying user existence, creating an authentication details table, sending a verification code via email, and validating the code at login.
Learn to implement a two step authentication in a PHP CMS by debugging login binding, handling username or email, issuing and verifying an authentication code, and securing the login flow.
Master two-step authentication in a php cms: validate the authentication code, ensure it is not expired within 15 minutes, fetch the user, delete the code, and establish a login session.
Continue the two-step authentication flow by validating the authentication code, deleting used codes on expiry, and establishing a secure user session.
Secure auth pages (backend and frontend) demonstrate managing user sessions, two-step authentication, login and signup redirects, and access control to protect admin and private pages while keeping public pages open.
Implement a bank-style authentication guard that automatically logs out idle users by tracking inactivity, remember-me state, and device fingerprints (IP and user agent) across sessions to secure logins.
Continue building the authentication guard, debug session handling, and cookie-based sign-in behavior, test lingering logins, and preview cross-site request forgery as the next topic.
Learn how to prevent cross-site request forgery by implementing CSRF tokens, generating and validating tokens, and protecting login forms with session-based validation.
Learn to test CSRF protection in a PHP CMS by validating the CSRF token on form submissions and auditing all forms to guard against malicious requests.
discover how a php cms implements forgot password by validating the user email, generating and storing a reset token, and emailing a secure link to reset the password.
Learn how a password reset flow handles forgot password requests: validate email, verify database record, generate token, email a reset link, and secure the change password form.
Create and display a logged-in user profile in a PHP CMS using session data, showing name, email, and avatar with a Bootstrap-styled profile page.
Explore how to retrieve user data and populate a profile settings form, then update fields like full name, bio, email, and profile image, with account activation controls.
Learn how a PHP CMS manages user sessions, displays the username and profile image, and updates social usernames and pictures after profile changes.
Learn to manage facebook-style user account deactivations in a PHP CMS: update login checks for deactivated accounts, permanently delete records after 14 days, and reactivate users on login.
retrieve and display the records for all users on our site as repeated cards, showing each user's image (or a placeholder), username, and other profile details from the database.
delete user accounts deactivated for more than 14 days using a dedicated delete button and redirect workflow, demonstrating the 14-day interval and database implications in a php cms context.
Learn to implement user roles and permissions in a PHP CMS, securing admin pages from regular users with session-based access control and role checks.
Update PHP CMS query to join users and posts, fetch name, username, email, and picture, count posts per user. Order by post count to highlight users with the most posts.
Update a user’s status from regular to admin or vice versa in a php cms, using a form with select inputs and a hidden user id, while enforcing admin-only access.
Display a graph chart on the admin dashboard to show website progress with monthly post counts by month and year, using a minified chart library.
Retrieve page titles and content with dedicated functions to dynamically render front end pages, such as about us and contact us, using database data and a global variable approach.
Learn to fetch and display categories with post counts using bootstrap layouts. Create category links that navigate to posts for each category.
Load all non-deleted posts from the database and display them on the homepage in bootstrap cards with image and title, linking to single posts via slug.
Learn to fetch and display posts by category on the category page, including retrieving the category name, querying the database for posts, and presenting them with titles, images, and categories.
Display all comments for a post before the comments form by fetching a media object, filtering by post id, and showing titles, content, user images, and the comment count.
Learn to implement view counting on page load by creating and tracking post views with server ip and post id, including checks, inserts, and displaying the view count.
Implement a like feature for posts in a php cms, update the like count on click, toggle with dislike, and manage database records for create and delete operations.
Learn to implement a robust dislike feature that mirrors likes, with toggle logic, shared submission handling, and managed counts in separate like and dislike tables.
A complete and dynamic PHP content management system. Develop a secure login and registration system with new user verification, 2-steps authentication, authentication guard, remember me, password reset, add more security layers with CSRF Protection, SQL injection protection, Cross site scripting protection etc.
Dynamic Frontend and Backend. Update and create with the same form. Display active and trashed data on the same table, use modal api for deleting, user role and permission, pagination, search functionality, comments, views, likes and dislikes functionalities etc.