Strengthen your PHP and MySQL skills by building a robust content management system with secure user authentication.
Overview
Syllabus
Introduction
- PHP with MySQL Essential Training: Build a CMS
- How to use the exercise files
- Blueprint the application
- Set up the database
- Set up the project files
- List subjects
- Add pages for each subject
- Add page content
- Use navigation to select pages
- Highlight the current page
- Challenge: Collapsing navigation
- Solution: Collapsing navigation
- The public context
- Skip hidden subjects and pages
- Use an option for conditional code
- Insecure Direct Object Reference (IDOR)
- Protect page visibility
- Allow HTML in dynamic content
- Challenge: Preview content
- Solution: Preview content
- Work with cookies
- Set and read cookie values
- Unset cookie values
- Work with sessions
- Set and read session values
- Challenge: Status messages
- Solution: Status messages
- User authentication overview
- Create admins table
- Challenge: Build admin management
- Solution: Build admin management
- PHP password functions
- Authenticate user access
- Require authorization
- Log out a user
- Optional password updating
- Authorized previewing
- Understand nested resources
- List pages by subject
- Use nested links
- Use nested redirects
- Add page count to each subject
- Scope page position by subject
- Challenge: Update positions
- Solution: Update positions
- Next steps
Taught by
Kevin Skoglund