php Courses
Author

php Courses

php中文网's platform for the latest courses and technical articles, helping PHP learners advance quickly.

3.1k
Articles
1
Likes
8.0k
Views
0
Comments
Recent Articles

Latest from php Courses

100 recent articles max
php Courses
php Courses
Jan 26, 2026 · Backend Development

How to Search and Replace Files on an FTP Server Using PHP

Learn step-by-step how to connect to an FTP server with PHP, list remote files, download them, replace specific strings, upload the modified files back, and properly close the connection, enabling automated search-and-replace operations across your server’s directories.

FTPFile ReplacementPHP
0 likes · 4 min read
How to Search and Replace Files on an FTP Server Using PHP
php Courses
php Courses
Jan 26, 2026 · Backend Development

How to Count Array Elements, Unique Values, and Occurrences in PHP

This guide explains how to use PHP's built‑in functions like count(), array_count_values(), and array_filter()—along with loops—to determine the total number of elements, count distinct values, and find the frequency of a specific item in an array.

ArrayCOUNTarray_count_values
0 likes · 4 min read
How to Count Array Elements, Unique Values, and Occurrences in PHP
php Courses
php Courses
Jan 23, 2026 · Backend Development

Master PHP Getters and Setters: Practical Examples and Best Practices

This article explains the purpose, usage, and advantages of PHP getters and setters, provides clear code examples for both, and demonstrates a combined implementation that validates and secures private properties, helping developers write more robust and maintainable code.

OOPPHPdata encapsulation
0 likes · 5 min read
Master PHP Getters and Setters: Practical Examples and Best Practices
php Courses
php Courses
Jan 23, 2026 · Backend Development

Boost Image Vibrancy: Adjust Saturation in PHP Using Imagick

This guide explains how to install the Imagick extension in PHP and demonstrates two methods—setImageAttribute() and setImageProperty()—to modify an image's saturation, complete with ready-to-use code examples and a brief summary of the process.

Image Processingbackend-developmentimagick
0 likes · 4 min read
Boost Image Vibrancy: Adjust Saturation in PHP Using Imagick
php Courses
php Courses
Jan 23, 2026 · Backend Development

Master PHP Form Validation: Essential Techniques to Secure User Input

This guide explains how to use PHP functions to validate required fields, email and phone formats, and filter HTML, special characters, and SQL injection, providing practical code examples that help developers ensure safe and reliable form data handling.

Data Filteringbackendform-validation
0 likes · 4 min read
Master PHP Form Validation: Essential Techniques to Secure User Input
php Courses
php Courses
Jan 22, 2026 · Backend Development

How PHP Developers Can Add AI Power to Their Projects in Minutes

This guide shows PHP developers how to quickly integrate AI capabilities—through API calls, local model libraries, or micro‑service architectures—while providing practical code examples, performance tips, a learning roadmap, and common pitfalls to avoid.

AI integrationAPIbackend
0 likes · 11 min read
How PHP Developers Can Add AI Power to Their Projects in Minutes
php Courses
php Courses
Jan 22, 2026 · Backend Development

Streamline PHP Projects: Automated Packaging and Deployment Best Practices

Learn how to automate PHP project packaging with Composer and streamline deployment using Git and Capistrano, following a step‑by‑step case study that covers creating composer.json, managing dependencies, version control commands, and configuring deployment scripts to boost efficiency and reduce errors.

AutomationCapistranoComposer
0 likes · 5 min read
Streamline PHP Projects: Automated Packaging and Deployment Best Practices
php Courses
php Courses
Jan 22, 2026 · Databases

How to Retrieve Row Count from MySQLi Queries in PHP

This guide shows how to use PHP's mysqli_num_rows function to obtain the number of rows returned by a MySQL query, including connection setup, error handling, executing a SELECT statement, retrieving the count, and important considerations when the query fails.

MySQLiRow Countdatabase
0 likes · 3 min read
How to Retrieve Row Count from MySQLi Queries in PHP