Home - potatoscript/php GitHub Wiki

PHP Tutorial List:

Title Remark
Introduction to PHP Overview of PHP, installation, and setup.
Variables and Data Types Understanding variables, constants, and data types in PHP.
Operators Arithmetic, comparison, logical, and assignment operators in PHP.
Control Structures Conditional statements: if, else, elseif, switch. Loops: for, while, foreach, and do-while.
Functions Defining and calling functions. Function parameters, return values, and variable scope.
Array Working with indexed and associative arrays, array functions.
String String concatenation, trimming, and comparison.
Date Working with dates and times in PHP using date() and strtotime().
File Reading and writing files in PHP, handling file uploads.
Encoding mb_convert_encoding($_POST["kanji"],"EUC","UTF-8");
Error Handling error_reporting(0); to hide error messages in production.
MySQL Connecting to MySQL, CRUD operations, prepared statements.
Get IP address $ip = $_SERVER['REMOTE_ADDR'];
Get USER Computer name $name = GetHostByAddr[$_SERVER['REMOTE_ADDR']);
Get USER IP address $ip = GetHostByName['REMOTE_ADDR'];
Session Management Starting and destroying sessions, using session variables.
Cookies Setting, getting, and deleting cookies.
Regular Expressions Using regular expressions in PHP with preg_match(), preg_replace().
Object-Oriented Programming (OOP) Classes, objects, inheritance, polymorphism.
Error Handling Custom error handling with try-catch blocks.
PHP and MySQL Connecting PHP to MySQL databases, performing CRUD operations.
Authentication User authentication with sessions or JWT.
File Uploading Secure file uploading and validation.
Security Preventing SQL injection, XSS, and implementing data encryption.
Email Sending Sending emails using PHP mail() function.
PHP and AJAX Sending data asynchronously with AJAX and PHP.
PHP and JSON Encoding and decoding JSON data.
PHP and XML Parsing and generating XML with PHP.
PHP and RESTful APIs Building a REST API with PHP.
PHP and WebSockets Real-time communication with WebSockets in PHP.
PHP and Redis Using Redis with PHP for caching and session management.
PHP and Composer Managing PHP dependencies with Composer.
PHP CLI (Command-Line Interface) Running PHP scripts from the command line.
PHP Best Practices Writing clean, efficient, and maintainable PHP code.
PHP Style Layout Customization Set your own layout background and border properties with PHP and CSS.