
Discover the basics of PSP, an open source server-side scripting language, its differences from programming languages, and how it powers web apps with frameworks and payment gateways.
Install the server by downloading and running the installer, set the install location, start Apache and MySQL from the control panel, and use localhost/phpMyAdmin to manage databases and run PHP.
Learn to switch local PHP versions between 7.4 and 8.1 in XAMPP by swapping Apache and PHP folders, verifying with a PHP info file, and restarting services.
Install Laragon as a local server, start Apache and MySQL, and access phpMyAdmin. Then enable allow no password for root login.
Shift between php 7 and php 8 in Laragon by installing and switching PSP versions (7.4 and 8.1.10), then restart services and verify the current PSP version.
Install PHP 8.2 in Laragon by downloading the latest Windows release, restarting Apache and MySQL services, and verifying the version with a local test file on localhost.
Install gem on macOS, start Apache and MySQL, verify phpMyAdmin, set up a local project in VS Code, and run a sample index PSP file at localhost.
Install MAMP on a Mac with the free version, then start the control panel and configure ports while preparing a PHP project in docs/test and using VS Code.
Shift between PHP versions in MAMP by renaming nonessential version folders with an underscore to activate the desired versions (for example 8.1 and 8.2) and restart the service.
Explore popular code editors for PHP, with a focus on Visual Studio Code, its extensions, and why it is lightweight compared with Notepad++, Atom, Sublime Text, Brackets, and PhpStorm.
Download and install Visual Studio Code from the official site, choose the correct OS, run the installer with default settings, and launch VS Code to start your project workspace.
Open folders in VS Code to create single or multi-folder workspaces, using the file menu or the code command, and manage project files.
Enable autosave in vscode to automatically save edits after a delay. The tutorial walks through opening files, saving with Ctrl+s, and verifying changes on refresh.
Discover how to manage extensions in Visual Studio Code, install PHP, HTML, and CSS tooling, switch color themes, and use code intelligence extensions for efficient PHP development.
Locate the VS Code settings.json on Windows, back up the file when you change editor settings, and import it later to restore your extensions and preferences.
Reset your VS Code environment by deleting settings.json and clearing the extensions folder in the dot vscode folder, then reopen to start with a fresh base code and autosave off.
Create and manage code snippets in your editor to automate repeated HTML and PHP blocks, using prefixes, body, and descriptions for faster development.
Install the bootstrap five quick snippets extension in VS Code and use BS5 shortcuts to insert Bootstrap 5 boilerplate for containers, accordions, tables, and forms.
Install and use the auto rename tag extension to automatically update closing HTML tags when you edit opening tags, saving time and reducing errors.
Install the material icon theme in VS Code to replace default icons, making folders, files, and CSS icons easily distinguishable and navigable in the sidebar.
Learn how to install the vscode great icons extension, choose the icon set, and apply folder and file icons in the explorer, including css and javascript icons.
Install the live server extension in your code editor, open an HTML file, and launch it with 'open with live server' to automatically run the file on a local server.
Learn how to install and use the live server preview extension in vscode to view real-time HTML page updates, including opening login.html and seeing changes reflected instantly.
Learn how the html css support extension in VS Code enables autocomplete for CSS classes defined in linked HTML and CSS files, making coding faster and easier.
Learn to switch default and install new color schemes in Laravel via color theme and extensions, featuring Dracula, Noctis, and other themes.
Use the VS Code terminal to run Laravel commands like php artisan serve and php artisan make model admin, and switch to git bash for git commands and repository checks.
Enable VS Code settings sync to automatically save keyboard shortcuts, extensions, and preferences online by signing in with Microsoft or GitHub, so your environment follows you to new machines.
Explore how PHP, a server-side scripting language, powers web apps with databases, APIs, payment gateways, and frameworks like Laravel, and learn setup basics with Xampp, editors, and local hosting.
Create a .php file such as index.php in a local server folder, run it in the browser, and use php blocks and echo to display html and text.
Explore how PHP comments work in practice, including single-line comments with // and multi-line comments /* */, and how they help explain code without affecting execution.
Learn how PHP variables serve as storage locations with an associated name and values that can be string, integer, float, or array, including naming rules, case sensitivity, and basic assignment.
Explore variable scope in PHP, including global scope, local scope, and the static keyword, and learn how global keywords and globals affect function access.
Compare echo and print in PHP 8.2, showing output generation, return values, parameter options, and how both can render HTML with or without parentheses, noting echo's speed advantage.
Explore PHP data types such as string, integer, float, boolean, array, object, null, and resource, with examples of strings in single or double quotes and using echo to print values.
Explains type casting in php by converting variables among integer, float, and string types, demonstrates is int and is float checks, and warns about precision loss.
Learn how to declare and output strings in PHP, handle quotes with single or double quotes, and escape characters with backslashes through Bangladesh and Peter's car examples.
Explore PHP string functions, declare and call functions with parameters, and use built-in tools like strlen, strtoupper, strtolower, the capitalize-first-letter function, trim, str_replace, substr, and chunk_split to manipulate text.
Explore PHP string functions such as count_chars, printf, str_repeat, str_word_count, strrev, strpos, and strip_tags, with practical examples and formatting demonstrations.
Learn how integers and floats represent numbers, explore nan and the is nan function, and check numeric values with is_numeric, including numeric strings and square roots via sqrt.
Master PSP math functions, including pi, min, max, abs, sqrt, round, and rand, with practical examples and range handling to perform numeric tasks.
Explore PHP 8.2 constants: immutable values defined with define, named without a dollar sign, globally accessible inside and outside functions, including scalar and array constants.
Explore PHP operators in this crash course segment, from arithmetic and assignment to comparison and spaceship operators, with practical examples of expressions, operands, and string concatenation.
Explore PHP 8.2 operators, including increment and decrement (pre and post), plus equals, and, or, xor, not, and string concatenation with dot and dot-equals.
Demonstrates PHP array union using the plus operator and contrasts equality, identical, and inequality across data types, then introduces the ternary and null coalescing operators with examples.
Explore PHP conditional statements using if, elseif, and else with braces and colon syntax, including practical examples and string concatenation to control program flow.
Learn how the switch statement evaluates a value against multiple cases, uses break to prevent executing other cases, and falls back to a default when none match, with country examples.
Explore the fundamentals of loops in PHP, including while, do-while, for, and foreach, with practical examples and safety notes on termination conditions and infinite loops. Learn how to use loops to iterate arrays and produce key-value outputs.
Explore PHP loops, including while, do while, for, and foreach, with break and continue, and practice filtering numbers to print even and odd values using modulus.
Explore nested loops in PHP using an outer and inner for loop, and learn to generate pyramid patterns by printing numbers across rows.
Learn to build a multiplication table with a nested for loop in PHP embedded in HTML. Output formats show 'i into j' and the product, with dynamic div-based styling.
Explore PHP arrays, including indexed, associative, and multi dimensional arrays. Learn to access by index, use the count function, iterate with for loops, and sum numbers.
Learn to define and use associative arrays in PHP by assigning custom keys like full name and country. Then iterate with a loop to display key-value pairs.
Explore multi dimensional arrays in php by nesting arrays, both index-based and associative, and learn to access elements with nested indices and loop through them with for loops.
Explore essential PHP array functions, including count, in_array, max, min, array_unique, and array_values. Learn debugging with var_dump and print_r, and splitting with explode and joining with implode.
Master how PHP functions work by exploring built-in versus user-defined functions, defining and calling functions, returning values, and using parameters and default values to create reusable code.
Explore the built-in PHP 8.2 superglobals—global, post, get, server, files, env, cookie, and session—and learn how they pass data across requests and scripts.
Explore PHP forms with the super globals $_GET, $_POST, and $_REQUEST. Demonstrates form submission, data retrieval on a result page, and header location redirects with GET vs POST security notes.
Cookies are small text files stored on a user device to remember preferences, login information, and cart items, enabling session persistence and advertising tracking while requiring caution with sensitive data.
Explore how to implement cookies in PHP through a voting and login mini project, including setting, retrieving, and destroying cookies, remember me, redirection, and basic security patterns.
Learn how to start a PHP session, store data in $_SESSION across pages, modify and destroy sessions with session_unset and session_destroy, and build a basic login flow.
Learn how PHP's include and require (and include_once and require_once) manage file inclusion, handle errors, and prevent multiple inclusions with practical examples.
Learn secure file uploads in PHP using a multipart form, validate mime types and extensions, enforce size limits, and safely move uploaded files to an uploads folder with unique names.
Learn how copying uploaded files from the temporary folder enables multi-destination uploads, avoid move-only limits, and resize, crop, and remove images with PHP file handling.
Learn PHP file IO by reading, creating, and appending text files with fopen modes r, r+, w, w+, a, and a+, and view directories with scandir.
Learn PHP form validation for name and email using filter_var with FILTER_VALIDATE_EMAIL, error and success messaging, try-catch blocks, and session-based redirect to prevent resubmission while preserving input.
Learn to send email in PSP using the PSP mailer library or APIs. Configure SMTP with Mailtrap testing and handle attachments and HTML emails.
Learn PHP regular expressions, how to define a search pattern, use the beginning of string, escapes, and quantifiers, with pragmas and pregreplace for validation and replacement, USA phone format.
Explore practical regular expressions for validating Bangladeshi phone numbers and emails in PHP, using preg_replace and anchors, with examples of length constraints, alternation, and case-insensitive matching.
Explore MySQL, a free open-source relational database system for organizing and querying data in tables, and learn to manage it with phpMyAdmin on a local server.
Connect PHP to MySQL using object oriented and procedural methods, and compare MySQL native approaches with PDO, including prepared statements to guard against SQL injection.
Learn to create a database and a table using sql and phpMyAdmin, detailing a test db 001, a students table, and a primary key id with auto increment.
Insert data into a database with PHP and PDO by writing insert into statements that specify the table, columns, and values, and learn about single and multiple inserts.
Explain prepared statements with PHP's PDO for MySQL, showing named and unnamed placeholders, binding values, and executing queries to prevent SQL injection while improving performance and readability.
Explore selecting data with PHP 8.2 using PDO: write select queries, use prepared statements, fetch results, and display as associative or numeric arrays, including distinct, grouping, and aggregate functions.
Explore the where clause in SQL with operators and logical conditions, using placeholders to filter data by last name or id, and learn between, like, in, not in, and subqueries.
Execute update queries to modify database records by using update, set, and where clauses; update multiple columns such as email and phone for specific rows, then verify changes.
Learn to delete specific data in a database using delete from table where column equals value, with examples for students and teachers, and compare delete, truncate, and drop table operations.
Learn how the order by clause sorts data in SQL. Use ascending or descending order on first name or ID, and note where id greater than four.
Explore the limit clause to control how many records to return, with demonstrations of limit, offset, and order by, including examples using a students table.
Master the join clause by seeing how inner, left, right, and full joins combine data from related tables, with practical examples using students, cities, countries, and departments.
Discover the union clause and union all in PHP 8.2, merging two or more selects into one result set with matching columns; union yields unique rows, union all duplicates.
Learn how to alter tables in MySQL by adding, dropping, renaming, and modifying columns and changing data types through practical students table examples.
Explore how group by aggregates rows with the same value, use sum with group by to compute totals, and apply having to filter groups, including joins with departments.
Master folder content protection by adding empty index.php files and enabling options indexes to prevent directory listing, and avoid exposing sensitive data by using a PHP file instead of JSON.
Apply the least privilege principle by granting each user only the minimum access needed, and implement role-based controls for admin and editor with session checks.
Explains SQL injection and how unsafe input handling can bypass authentication. Shows how prepared statements, input validation, escaping with addslashes, and type casting protect PHP applications.
Explore cross-site scripting risks from unsanitized user input and how prepared statements with PDO and input validation prevent them. Use sanitization with strip_tags or filter_input and proper output encoding.
Learn pagination from scratch in php: split large data sets into pages, compute total pages, build navigation with previous and next links, and optimize loading times.
Master a PSP based authentication workflow, including registration with email verification, login, forget password with token, and a dashboard, plus modular templates using header and footer PSP files.
Register users with a secure PHP 8.2 workflow using PDO, form validation, password hashing, and email verification via PHPMailer, including token-based verification links and database insertion.
Verify user registration by checking email and token against the database, redirect on failure, then activate the account by clearing the token and setting status to active.
Learn how to implement a secure login with session management, form validation, password hashing and verification, and dashboard access control using PHP and PDO.
Implement a forget password flow by creating registration and login checks, generating and emailing a reset token, updating the user record, and validating email verification.
Explore how a reset password flow works: validate password inputs, verify email and token from the url, update the user password with hashing, and redirect to login.
In this course, I have taught the students the most popular programming language PHP from scratch using the latest version PHP 8.2. After showing all the basics of PHP using PDO, I also have shown the details of the PHP security with example, Payment Gateway Integration, Complete Authentication System, and Admin Panel Setup with mastering.
If you are new to programming, you want to learn programming but do not understand from where you can start, this course is for you. I have shown everything in very details and you will enjoy the learning.
Features of this course:
Learning the basics of PHP
Regular Expression in PHP with Example
Pagination System Building from Scratch
Learning the MySQL database from scratch
Working with PHP Forms
Form Validation Technique
Email Sending from Scratch
File Upload System and Validation
Sessions and Cookies
File I/O Operation
Query Languages
Showing different clauses
Security - Folder Content Protection
Security - Least Priveleges
Security - SQL Injection
Security - XSS Attack
Building authentication system
Registration System with Email Validation
Login and Forget Password System
Reset Password System
Logout System
Admin Panel HTML template download and mastering with PHP
Complete Admin panel authentication system with all features
Payment method integration with PayPal
Payment method integration with Stripe