Tagged articles
3002 articles
Page 19 of 31
php Courses
php Courses
Sep 29, 2023 · Backend Development

PHP is_executable() Function: Usage, Parameters, Return Values, and Examples

The article explains PHP's built‑in is_executable() function, detailing its syntax, the $filename parameter, possible true/false return values, example code for checking file executability, important notes on directory checks and permission effects, and provides a brief summary.

File PermissionsFilesystemPHP
0 likes · 4 min read
PHP is_executable() Function: Usage, Parameters, Return Values, and Examples
php Courses
php Courses
Sep 29, 2023 · Backend Development

Using PHP Sessions and Cookies to Enhance Web Applications

This article explains how PHP sessions and cookies work together to manage user data, improve authentication, shopping carts, and personalization, providing code examples and best practices for secure, seamless web application development.

AuthenticationPHPSessions
0 likes · 7 min read
Using PHP Sessions and Cookies to Enhance Web Applications
php Courses
php Courses
Sep 28, 2023 · Backend Development

Using PHP is_writable() to Check File and Directory Write Permissions

This article explains the PHP is_writable() function, its syntax, and provides multiple examples showing how to check write permissions for files and directories, as well as how to combine it with file existence checks and permission verification.

File PermissionsPHPTutorial
0 likes · 5 min read
Using PHP is_writable() to Check File and Directory Write Permissions
php Courses
php Courses
Sep 28, 2023 · Backend Development

Understanding Encapsulation in PHP: Benefits, Code Examples, and Best Practices

Encapsulation, a core OOP principle, is explored in PHP with explanations of its benefits for data protection and modular code, followed by practical class examples—including a Person class and a BankAccount class—plus best‑practice recommendations for using access modifiers effectively.

Access ModifiersEncapsulationOOP
0 likes · 5 min read
Understanding Encapsulation in PHP: Benefits, Code Examples, and Best Practices
php Courses
php Courses
Sep 28, 2023 · Backend Development

Implementing Distributed Data Storage and Retrieval with PHP Microservices

This article explains the challenges of traditional single-node data storage, introduces microservice architecture, and provides step-by-step PHP Swoole code examples for creating storage and retrieval microservices and a client script, demonstrating how to achieve scalable, fault‑tolerant distributed data storage and retrieval.

MicroservicesPHPSwoole
0 likes · 5 min read
Implementing Distributed Data Storage and Retrieval with PHP Microservices
php Courses
php Courses
Sep 27, 2023 · Backend Development

Building a Simple Online Recruitment System with PHP

This article explains how to design and implement a basic online recruitment platform using PHP, covering requirement analysis, system architecture, database schema, front‑end layout, back‑end logic, and provides a complete code example for user registration, illustrating the core functionalities of such a system.

BackendPHPRecruitment System
0 likes · 5 min read
Building a Simple Online Recruitment System with PHP
php Courses
php Courses
Sep 25, 2023 · Backend Development

Implementing Data Merging with PHP Backend and Vue Frontend

This article demonstrates how to implement a data merging feature by creating MySQL tables, building a PHP API that retrieves and combines records from two tables, and developing a Vue.js front‑end that fetches and displays the merged data, complete with full code examples.

APIBackendPHP
0 likes · 5 min read
Implementing Data Merging with PHP Backend and Vue Frontend
php Courses
php Courses
Sep 25, 2023 · Backend Development

Advanced PHP Features: Magic Methods, Type Hints, Closures, Namespaces, Generators, Iterators, Date/Time, Regex, and Variable Scope

This article provides a comprehensive guide to advanced PHP features, covering magic methods, type hints, closures, namespaces, generators, iterators, date/time handling, regular expressions, and variable scope, each explained with clear descriptions and practical code examples for backend developers.

GeneratorsIteratorsNamespaces
0 likes · 18 min read
Advanced PHP Features: Magic Methods, Type Hints, Closures, Namespaces, Generators, Iterators, Date/Time, Regex, and Variable Scope
php Courses
php Courses
Sep 25, 2023 · Backend Development

PHP clearstatcache() Function: Syntax, Usage, and Important Considerations

clearstatcache() is a PHP function that clears file status caches, optionally targeting specific files or the realpath cache, with detailed syntax, usage examples for clearing all caches, specific file caches, and realpath caches, plus important limitations and performance considerations.

PHPclearstatcachefile status cache
0 likes · 5 min read
PHP clearstatcache() Function: Syntax, Usage, and Important Considerations
php Courses
php Courses
Sep 23, 2023 · Backend Development

Applying SOLID Principles in PHP for Maintainable Code

This article explains how to use the SOLID design principles—SRP, OCP, LSP, ISP, and DIP—in PHP, providing clear bad and good code examples for each principle to help developers write more reliable, extensible, and maintainable backend applications.

BackendPHPSOLID
0 likes · 8 min read
Applying SOLID Principles in PHP for Maintainable Code
php Courses
php Courses
Sep 23, 2023 · Backend Development

How to Develop a Simple Map Navigation Feature with PHP

This tutorial explains how to create a basic map navigation function using PHP by selecting a map API, setting up a PHP file, embedding the map container, initializing the map, and adding markers, with complete code examples for beginners.

Baidu MapsPHPmap-api
0 likes · 5 min read
How to Develop a Simple Map Navigation Feature with PHP
Open Source Tech Hub
Open Source Tech Hub
Sep 23, 2023 · Backend Development

How to Install and Configure PHP 8.2 on Ubuntu/Debian with Ondřej’s PPA

This guide explains the new features of PHP 8.2, shows how to add Ondřej Surý’s PPA on Ubuntu and Debian, provides step‑by‑step commands to install PHP 8.2 and its extensions, configure Apache or Nginx, test the installation, purge old versions, and manage multiple PHP versions side‑by‑side.

DebianInstallationLinux
0 likes · 10 min read
How to Install and Configure PHP 8.2 on Ubuntu/Debian with Ondřej’s PPA
php Courses
php Courses
Sep 22, 2023 · Backend Development

PHP chr() Function: Converting ASCII Codes to Characters

The article explains PHP's chr() function, detailing its syntax, parameters, and return value, and demonstrates how to convert single ASCII codes, ranges of codes, whole strings, and special characters to their corresponding characters using code examples.

PHPcharacter conversionchr()
0 likes · 4 min read
PHP chr() Function: Converting ASCII Codes to Characters
php Courses
php Courses
Sep 22, 2023 · Frontend Development

Implementing Data Visualization with PHP and Google Charts

This tutorial explains how to use PHP to fetch JSON data and integrate Google Charts, providing step‑by‑step code examples for preparing the environment, retrieving data, generating a pie chart with JavaScript, and displaying it within an HTML page.

Data visualizationGoogle ChartsJavaScript
0 likes · 6 min read
Implementing Data Visualization with PHP and Google Charts
php Courses
php Courses
Sep 21, 2023 · Backend Development

PHP quotemeta() Function: Syntax, Usage, and Replacement with preg_quote()

The article explains PHP's quotemeta() function, which escapes special regex characters in a string, details its syntax and parameters, lists the characters it escapes, notes its deprecation after PHP 5.3, and recommends using the newer preg_quote() function with example code.

PHPbackend-developmentpreg_quote
0 likes · 3 min read
PHP quotemeta() Function: Syntax, Usage, and Replacement with preg_quote()
php Courses
php Courses
Sep 21, 2023 · Backend Development

Top PHP Frameworks to Use in 2023

This article reviews the leading PHP frameworks expected to thrive in 2023, including Laravel, Symfony, CodeIgniter, Laminas, Yii, Phalcon, CakePHP, Slim, and others, helping developers choose the most suitable backend solution based on project size, performance needs, and team expertise.

2023BackendPHP
0 likes · 5 min read
Top PHP Frameworks to Use in 2023
Laravel Tech Community
Laravel Tech Community
Sep 20, 2023 · Information Security

Analysis of a ThinkPHP 6.0 Deserialization Exploit Chain via LeagueFlysystem Cached Storage

This article analyzes a ThinkPHP 6.0 deserialization exploit chain that leverages LeagueFlysystem's cached storage classes, detailing the sequence from __destruct to write, showing how controllable parameters enable arbitrary file writes and providing a proof‑of‑concept demonstration.

DeserializationExploitInformation Security
0 likes · 7 min read
Analysis of a ThinkPHP 6.0 Deserialization Exploit Chain via LeagueFlysystem Cached Storage
Open Source Tech Hub
Open Source Tech Hub
Sep 20, 2023 · Backend Development

How to Extend the Lifetime of Legacy PHP Applications Securely

Legacy PHP apps often face end‑of‑life challenges, but by choosing appropriate hosting, leveraging CloudLinux HardenedPHP, containerization, PECL alternatives, and LTS‑supported frameworks and libraries, you can securely run them longer while minimizing upgrade costs and maintaining compatibility.

ContainersHostingLTS
0 likes · 16 min read
How to Extend the Lifetime of Legacy PHP Applications Securely
php Courses
php Courses
Sep 20, 2023 · Backend Development

PHP addcslashes() Function: Syntax, Usage, and Examples

This article explains the PHP addcslashes() function, detailing its syntax, parameters, usage examples for escaping characters and special symbols, and notes on its differences from addslashes(), providing clear code demonstrations for developers.

PHPTutorialaddcslashes
0 likes · 4 min read
PHP addcslashes() Function: Syntax, Usage, and Examples
php Courses
php Courses
Sep 20, 2023 · Backend Development

PHP stripslashes() Function: Syntax, Usage, and Precautions

The article explains PHP's stripslashes() function, its syntax, how to use it for removing backslash escapes in strings and database results, precautions such as escape order and scope, and best practices for safe string handling.

PHPaddslashesdatabase
0 likes · 6 min read
PHP stripslashes() Function: Syntax, Usage, and Precautions
php Courses
php Courses
Sep 20, 2023 · Backend Development

New PHP 8.3 Features: JSON Validation, Improved unserialize Error Handling, Dynamic Class Constants, Readonly Property Cloning, and Typed Constants

PHP 8.3 introduces native JSON validation, improved unserialize error handling, dynamic class constant access, the ability to reinitialize readonly properties during cloning, and typed class constants, providing developers with more efficient and expressive tools for backend development.

8.3PHPbackend-development
0 likes · 6 min read
New PHP 8.3 Features: JSON Validation, Improved unserialize Error Handling, Dynamic Class Constants, Readonly Property Cloning, and Typed Constants
php Courses
php Courses
Sep 19, 2023 · Artificial Intelligence

Integrating Midjourney AI Painting API with PHP: A Step-by-Step Guide

This tutorial explains how to use PHP to connect to Midjourney's AI painting API, covering preparation, request construction, cURL transmission, response handling, and a complete example that enables developers to generate and manage AI‑created artwork.

AI paintingArtificial IntelligenceBackend
0 likes · 6 min read
Integrating Midjourney AI Painting API with PHP: A Step-by-Step Guide
php Courses
php Courses
Sep 18, 2023 · Databases

How to Implement High‑Performance Database Search with PHP

This article explains how to achieve high‑performance database search in PHP by optimizing schema, writing efficient SQL, using mysqli/PDO functions, employing caching tools like Memcached or Redis, and integrating full‑text engines such as Elasticsearch, with complete code examples.

Full‑Text SearchPHPcaching
0 likes · 6 min read
How to Implement High‑Performance Database Search with PHP
php Courses
php Courses
Sep 16, 2023 · Backend Development

Understanding PHP's html_entity_decode() Function

This article explains the PHP html_entity_decode() function, covering its syntax, parameters, return value, practical usage examples, and important considerations for correctly converting HTML entities back to their original characters in web applications.

PHPWeb Developmenthtml_entity_decode
0 likes · 5 min read
Understanding PHP's html_entity_decode() Function
php Courses
php Courses
Sep 16, 2023 · Information Security

How to Use PHP htmlspecialchars() to Escape Special Characters and Prevent XSS

This article explains the purpose, syntax, optional parameters, and practical examples of PHP's htmlspecialchars() function, demonstrating how to safely convert special characters to HTML entities, control encoding and flags, avoid double‑encoding, and follow important usage considerations for secure web development.

PHPWeb SecurityXSS
0 likes · 6 min read
How to Use PHP htmlspecialchars() to Escape Special Characters and Prevent XSS
php Courses
php Courses
Sep 16, 2023 · Backend Development

Understanding the Null Safe Operator in PHP 8

This article explains PHP 8's Null safe operator, its syntax, benefits, and provides practical code examples demonstrating how to simplify null checks, handle chained property access, and combine with other operators, while noting version requirements and best practices.

Code ExampleNull Safe OperatorPHP
0 likes · 5 min read
Understanding the Null Safe Operator in PHP 8
php Courses
php Courses
Sep 15, 2023 · Backend Development

Advanced PHP Techniques: Closures, Generators, and Reflection

This article introduces three advanced PHP features—Closures, Generators, and Reflection—explaining their concepts, advantages, and providing detailed code examples that demonstrate how closures enable access to outer scope variables, generators reduce memory usage by yielding data lazily, and reflection allows runtime inspection and modification of classes and methods.

Advanced TechniquesBackendGenerators
0 likes · 5 min read
Advanced PHP Techniques: Closures, Generators, and Reflection
Laravel Tech Community
Laravel Tech Community
Sep 14, 2023 · Backend Development

Implementing WeChat OAuth Login with PHP

This article explains how to implement WeChat OAuth login in a PHP web application, detailing required prerequisites, the authorization flow with URL endpoints, and providing a complete PHP function that exchanges the code for an access token, refreshes it if needed, and retrieves the user's nickname and avatar for storage.

OAuthPHPWeChat
0 likes · 5 min read
Implementing WeChat OAuth Login with PHP
21CTO
21CTO
Sep 14, 2023 · Backend Development

Is PHP Still Dominating the Web? Surprising Stats and Real-World Use Cases

This article examines PHP's continued dominance in web back‑ends by presenting recent market‑share data, CMS adoption figures, large‑scale deployments, and expert opinions, revealing why the language remains a cost‑effective, high‑performance choice for many enterprises despite predictions of its demise.

CMSPHPWeb Development
0 likes · 11 min read
Is PHP Still Dominating the Web? Surprising Stats and Real-World Use Cases
php Courses
php Courses
Sep 14, 2023 · Backend Development

How to Use PHP’s ltrim() Function to Remove Leading Characters

This article explains the PHP ltrim() function, detailing its syntax, parameters, and various use cases such as removing leading spaces, specific characters, and multiple characters, while providing code examples and highlighting that only left‑hand characters are affected.

PHPString ManipulationTutorial
0 likes · 5 min read
How to Use PHP’s ltrim() Function to Remove Leading Characters
Open Source Tech Hub
Open Source Tech Hub
Sep 14, 2023 · Operations

How to Integrate Zipkin Distributed Tracing with Webman and Alibaba Cloud ARMS

This guide explains Zipkin's architecture, data reporting methods, and step‑by‑step integration with the Webman framework, including middleware implementation, configuration, and visual monitoring on Alibaba Cloud ARMS, enabling developers to trace requests, monitor SQL, and diagnose performance issues in microservice environments.

ARMSAlibabaCloudDistributedTracing
0 likes · 6 min read
How to Integrate Zipkin Distributed Tracing with Webman and Alibaba Cloud ARMS
php Courses
php Courses
Sep 11, 2023 · Backend Development

Using PHP str_repeat() Function: Syntax, Parameters, and Practical Examples

This article explains the PHP str_repeat() function, covering its basic syntax, parameters, return value, and multiple practical examples such as creating separators, padding strings, generating patterns, and producing random strings, while providing complete code snippets and output demonstrations.

Code ExamplesPHPString Manipulation
0 likes · 6 min read
Using PHP str_repeat() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Sep 11, 2023 · Backend Development

PHP str_pad() Function: Syntax, Parameters, Return Value, and Usage Examples

This article explains the PHP str_pad() function, detailing its syntax, parameters, return value, and demonstrating practical examples such as string padding, alignment, truncation, and numeric formatting to help developers efficiently manipulate string lengths.

PHPString ManipulationTutorial
0 likes · 5 min read
PHP str_pad() Function: Syntax, Parameters, Return Value, and Usage Examples
php Courses
php Courses
Sep 9, 2023 · Backend Development

Understanding PHP JIT Compiler in PHP 8.0 and How to Enable It

This article explains the principle of the JIT compiler introduced in PHP 8.0, shows how to enable it via php.ini settings, provides a sample code demonstration, and discusses performance benefits and limitations for PHP developers.

JITOPcachePHP
0 likes · 6 min read
Understanding PHP JIT Compiler in PHP 8.0 and How to Enable It
php Courses
php Courses
Sep 8, 2023 · Backend Development

PHP lcfirst() Function: Syntax, Parameters, Return Value, Usage, and Examples

This article explains PHP's lcfirst() function, detailing its syntax, parameters, return value, important considerations, code examples, typical usage scenarios, and provides learning resource links for developers seeking to handle string case conversion efficiently.

PHPString Manipulationbackend-development
0 likes · 4 min read
PHP lcfirst() Function: Syntax, Parameters, Return Value, Usage, and Examples
php Courses
php Courses
Sep 7, 2023 · Backend Development

PHP strtoupper() Function: Syntax, Parameters, Return Value, Usage Examples, and Important Notes

This article explains PHP's strtoupper() function, covering its syntax, required string parameter, return value, multiple usage examples—including full string conversion, partial conversion, word capitalization, regex-based conversion, and multibyte handling—along with key considerations such as case sensitivity and non‑letter character behavior.

PHPStringstrtoupper
0 likes · 5 min read
PHP strtoupper() Function: Syntax, Parameters, Return Value, Usage Examples, and Important Notes
php Courses
php Courses
Sep 7, 2023 · Backend Development

PHP strtolower() Function: Syntax, Parameters, Return Value, Examples, and Usage Tips

The article explains PHP's strtolower() function, detailing its syntax, parameters, return value, and providing multiple code examples—including full string conversion, partial conversion, word-level manipulation, and multibyte handling—while also noting important considerations for case sensitivity and non‑alphabetic characters.

BackendPHPString Functions
0 likes · 5 min read
PHP strtolower() Function: Syntax, Parameters, Return Value, Examples, and Usage Tips
php Courses
php Courses
Sep 6, 2023 · Backend Development

PHP strnatcmp() Function: Natural Order String Comparison

The article explains PHP’s strnatcmp() function, which compares two strings using natural order sorting, details its syntax, demonstrates usage with code examples showing how numeric parts are evaluated, and notes the case‑sensitive behavior and the alternative strnatcasecmp() for case‑insensitive comparisons.

PHPnatural sortstring-comparison
0 likes · 4 min read
PHP strnatcmp() Function: Natural Order String Comparison
php Courses
php Courses
Sep 6, 2023 · Backend Development

PHP strncasecmp() Function: Syntax, Parameters, Return Values, and Usage Example

strncasecmp() is a PHP string comparison function that compares the first n characters of two strings case‑insensitively, with detailed syntax, parameter explanations, return values, a practical code example, and usage notes on handling full‑string comparisons and typical applications.

PHPbackend-developmentcase-insensitive
0 likes · 3 min read
PHP strncasecmp() Function: Syntax, Parameters, Return Values, and Usage Example
php Courses
php Courses
Sep 6, 2023 · Backend Development

Implementing a Web Crawler with PHP and Goutte

This tutorial explains how to set up the PHP environment, install the Goutte library, and use it to fetch page content, extract hyperlinks, and submit forms, providing complete code examples for building a functional web crawler.

BackendCrawlerGoutte
0 likes · 5 min read
Implementing a Web Crawler with PHP and Goutte
Laravel Tech Community
Laravel Tech Community
Sep 5, 2023 · Backend Development

Using MySQLi and PDO to Prevent SQL Injection in PHP

The article explains why directly concatenating user input into SQL queries leads to injection vulnerabilities and demonstrates how to secure PHP database operations using input validation, escaping functions, and prepared statements with MySQLi and PDO, while comparing related sanitization functions.

MySQLiPDOPHP
0 likes · 5 min read
Using MySQLi and PDO to Prevent SQL Injection in PHP
php Courses
php Courses
Sep 4, 2023 · Fundamentals

Binary Search: Explanation and PHP Implementations

Binary search is an efficient O(log n) algorithm for locating a target value in a sorted array, and this article explains its step-by-step process, provides iterative and recursive PHP code examples, and discusses their usage and performance considerations.

Binary SearchIterativeO(log n)
0 likes · 6 min read
Binary Search: Explanation and PHP Implementations
php Courses
php Courses
Sep 2, 2023 · Backend Development

Using PHP strcmp() Function: Syntax, Usage, and Examples

This article explains the PHP strcmp() function, covering its syntax, return values, and practical examples for comparing string equality, ordering, case sensitivity, and length, while also noting the related strcasecmp() function for case‑insensitive comparisons.

Code TutorialPHPbackend-development
0 likes · 6 min read
Using PHP strcmp() Function: Syntax, Usage, and Examples
php Courses
php Courses
Sep 2, 2023 · Backend Development

Using PHP str_split() Function: Syntax, Parameters, and Practical Examples

This article explains PHP's str_split() function, detailing its syntax, parameters, return values, and providing multiple code examples that demonstrate splitting strings into character arrays, handling custom split lengths, empty strings, and invalid lengths, while also noting multibyte character considerations.

Code ExamplesPHPString Manipulation
0 likes · 5 min read
Using PHP str_split() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Sep 1, 2023 · Artificial Intelligence

Integrating Baidu Text-to-Speech API with PHP

This tutorial demonstrates how to obtain Baidu TTS credentials, construct the required signature, send an HTTP request using PHP's cURL library, and save the returned audio data as an MP3 file, providing a complete code example for developers.

Baidu TTSPHPSpeech synthesis
0 likes · 5 min read
Integrating Baidu Text-to-Speech API with PHP
php Courses
php Courses
Aug 30, 2023 · Backend Development

Understanding PHP explode() Function: Syntax, Examples, and Use Cases

This article explains PHP's explode() function, detailing its syntax, parameters, and optional limit, and provides multiple code examples demonstrating string-to-array splitting with various delimiters and extracting URL components, helping developers effectively manipulate strings in backend applications.

BackendPHPexplode
0 likes · 4 min read
Understanding PHP explode() Function: Syntax, Examples, and Use Cases
php Courses
php Courses
Aug 30, 2023 · Backend Development

Understanding PHP strcspan() Function: Syntax, Usage, and Examples

This article explains PHP's strcspan() function, detailing its syntax, parameters, return value, and provides three practical code examples that demonstrate how it counts consecutive characters in a string based on a given character list.

Code ExamplesPHPbackend-development
0 likes · 5 min read
Understanding PHP strcspan() Function: Syntax, Usage, and Examples
php Courses
php Courses
Aug 30, 2023 · Backend Development

Implementing a Mind Map Application with PHP (Laravel) and Vue.js

This article explains how to design, develop, and debug a web-based mind‑map tool by combining PHP/Laravel backend APIs with a Vue.js frontend component, covering requirements analysis, database schema, CRUD endpoints, and Vue component implementation with code examples.

CRUDLaravelPHP
0 likes · 6 min read
Implementing a Mind Map Application with PHP (Laravel) and Vue.js
php Courses
php Courses
Aug 29, 2023 · Backend Development

Implementing Phone Verification Login with PHP

This article explains how to implement a phone‑verification login system using PHP, covering front‑end page design, AJAX‑based code sending, and server‑side validation with example code snippets for HTML, JavaScript, and PHP integration.

PHPPhone VerificationSMS
0 likes · 6 min read
Implementing Phone Verification Login with PHP
php Courses
php Courses
Aug 28, 2023 · Backend Development

Using PHP and Vue for Mind Map Application Development

This article examines how PHP and Vue are applied in developing mind‑map applications, covering backend data storage, API creation, and frontend component design with code examples for each technology.

BackendPHPmind map
0 likes · 5 min read
Using PHP and Vue for Mind Map Application Development
php Courses
php Courses
Aug 26, 2023 · Backend Development

Implementing Data Backup and Recovery with PHP

This tutorial demonstrates how to use PHP to create a backup directory, export MySQL tables to text files, and restore them by reading the files and executing INSERT statements, providing complete code examples for both backup and recovery processes.

BackendData RecoveryPHP
0 likes · 5 min read
Implementing Data Backup and Recovery with PHP
php Courses
php Courses
Aug 25, 2023 · Frontend Development

Cross-Domain Communication in Web Development Using PHP (JSONP Example)

This article explains cross‑domain communication in web development, outlines common methods such as JSONP, CORS, iframe + postMessage and proxy, and provides a PHP example of JSONP implementation with client‑side script to demonstrate data transfer across different domains.

JSONPPHPWeb Development
0 likes · 4 min read
Cross-Domain Communication in Web Development Using PHP (JSONP Example)
php Courses
php Courses
Aug 25, 2023 · Backend Development

Implementing Cross-Domain Communication with PHP: JSONP Example

This article explains cross-domain communication concepts, compares methods like JSONP, CORS, iframe postMessage, and provides a complete PHP implementation of JSONP with client-side script examples, enabling data exchange across different domains in web development.

CORSJSONPPHP
0 likes · 6 min read
Implementing Cross-Domain Communication with PHP: JSONP Example
php Courses
php Courses
Aug 24, 2023 · Backend Development

Understanding PHP's strstr() Function: Syntax, Usage, and Examples

This article explains PHP's strstr() function, covering its syntax, parameters, and practical examples such as finding the first occurrence, retrieving text before the needle, performing case‑sensitive and case‑insensitive searches, and handling multibyte characters with mb_strstr.

Code ExamplesPHPString Manipulation
0 likes · 4 min read
Understanding PHP's strstr() Function: Syntax, Usage, and Examples
php Courses
php Courses
Aug 24, 2023 · Backend Development

Using PHP similar_text() Function to Compare String Similarity

This article explains the PHP similar_text() function, its syntax, how to use it with code examples to calculate the similarity percentage between two strings, and important considerations such as case sensitivity, length limits, and result accuracy.

PHPbackend-developmentsimilar_text
0 likes · 3 min read
Using PHP similar_text() Function to Compare String Similarity
php Courses
php Courses
Aug 24, 2023 · Backend Development

Accessing Private Members in PHP with __get(), __set() and ArrayAccess

This article explains why PHP throws "attempt to access private member" errors, describes the visibility keywords public, protected, private, and demonstrates how to use the magic methods __get() and __set() as well as the ArrayAccess interface to read and write private properties from outside the class.

ArrayAccessObject-OrientedPHP
0 likes · 5 min read
Accessing Private Members in PHP with __get(), __set() and ArrayAccess
php Courses
php Courses
Aug 23, 2023 · Backend Development

Building a Simple Online Quiz System with PHP and MySQL

This tutorial explains how to create a basic online quiz platform by designing a MySQL database, writing PHP code to connect, retrieve, display questions, and process user answers to calculate scores, providing a foundation for further feature expansion.

BackendOnline QuizPHP
0 likes · 5 min read
Building a Simple Online Quiz System with PHP and MySQL
php Courses
php Courses
Aug 22, 2023 · Backend Development

Using PHP str_ireplace() Function for Case-Insensitive String Replacement

This article explains PHP's str_ireplace() function, detailing its parameters, usage differences from str_replace(), and provides multiple code examples demonstrating case-insensitive replacements in strings, arrays, and combined search/replace scenarios, along with a brief summary of its capabilities.

PHPTutorialstr_ireplace
0 likes · 6 min read
Using PHP str_ireplace() Function for Case-Insensitive String Replacement
php Courses
php Courses
Aug 21, 2023 · Backend Development

Using PHP mb_strlen() to Accurately Measure Multibyte String Lengths

This article explains how to use PHP's mb_strlen() function to accurately measure string lengths, handle multibyte characters, specify encodings, retrieve byte counts, count character occurrences, and work with different language encodings, providing clear code examples for each case.

PHPbackend-developmentencoding
0 likes · 4 min read
Using PHP mb_strlen() to Accurately Measure Multibyte String Lengths
php Courses
php Courses
Aug 19, 2023 · Backend Development

Implementing Email Verification for Login and Registration with PHP

This article explains how to build a secure email‑verification login and registration system using PHP and MySQL, covering database schema creation, user registration with verification code generation and email sending, verification link handling, and login validation, with full code examples.

Email VerificationPHPRegistration
0 likes · 5 min read
Implementing Email Verification for Login and Registration with PHP
php Courses
php Courses
Aug 19, 2023 · Backend Development

How to Use PHP's sqrt() Function to Calculate Square Roots

This article explains the PHP sqrt() function, demonstrates how to compute square roots for positive and negative numbers, shows how to cast the result to an integer, and highlights important usage considerations with clear code examples.

PHPcomplex numbersfunction
0 likes · 5 min read
How to Use PHP's sqrt() Function to Calculate Square Roots
php Courses
php Courses
Aug 18, 2023 · Backend Development

Using PHP's pi() Function to Retrieve the Approximate Value of π

The article explains PHP's built‑in pi() function, shows how to retrieve the approximate value of π, demonstrates its use in simple output and in calculating a circle’s circumference and area with code examples, and notes the function’s limited precision.

Code ExamplePHPmathematics
0 likes · 4 min read
Using PHP's pi() Function to Retrieve the Approximate Value of π
php Courses
php Courses
Aug 18, 2023 · Backend Development

How to Use PHP's round() Function for Precise Number Rounding

This article explains PHP's round() function, covering its basic usage, optional precision and rounding mode parameters, and provides multiple code examples demonstrating rounding of positive, negative, and specially‑mode‑controlled numbers.

Code ExamplesPHPRounding
0 likes · 5 min read
How to Use PHP's round() Function for Precise Number Rounding
php Courses
php Courses
Aug 17, 2023 · Backend Development

How to Use PHP's pow() Function for Exponential Calculations

This article explains PHP's pow() function, its syntax, parameter meanings, and demonstrates how to compute powers for positive, negative, fractional, and zero values with code examples while noting its floating‑point return behavior and special cases like INF and NAN.

ExponentialPHPPoW
0 likes · 4 min read
How to Use PHP's pow() Function for Exponential Calculations
php Courses
php Courses
Aug 16, 2023 · Backend Development

Understanding PHP's mt_rand() Function: Syntax, Parameters, Return Value, and Practical Examples

This article explains PHP's mt_rand() pseudo‑random number generator, covering its syntax, optional min and max parameters, return value, and provides three practical code examples for generating random integers, unique integer sets, and random strings, followed by a brief summary and learning resources.

Code ExamplesPHPbackend-development
0 likes · 5 min read
Understanding PHP's mt_rand() Function: Syntax, Parameters, Return Value, and Practical Examples
php Courses
php Courses
Aug 16, 2023 · Backend Development

Implementing Alipay Asynchronous and Synchronous Callbacks in PHP

This article explains the roles of Alipay's asynchronous and synchronous callbacks in PHP integration, outlines step‑by‑step processing procedures, and provides complete example code for verifying signatures, updating order status, and handling both server‑side notifications and front‑end return pages.

AlipayBackendPHP
0 likes · 7 min read
Implementing Alipay Asynchronous and Synchronous Callbacks in PHP
php Courses
php Courses
Aug 15, 2023 · Backend Development

Using PHP fmod() Function to Compute Floating‑Point Remainder

The article explains PHP's fmod() function for calculating the remainder of two floating‑point numbers, describes its syntax and parameter roles, provides multiple code examples—including handling of zero divisors and negative values—and notes that it returns a float or NAN when appropriate.

PHPfloating-pointfmod
0 likes · 4 min read
Using PHP fmod() Function to Compute Floating‑Point Remainder
php Courses
php Courses
Aug 14, 2023 · Backend Development

Using PHP floor() Function: Syntax, Examples, and Tips

This article explains PHP's floor() function, its syntax, provides multiple code examples for rounding floats, integers, negative numbers, and arrays, and highlights important notes such as its difference from round() and its combination with other math functions.

PHPbackend-developmentfloor()
0 likes · 3 min read
Using PHP floor() Function: Syntax, Examples, and Tips
php Courses
php Courses
Aug 14, 2023 · Backend Development

Using PHP ceil() Function: Syntax, Parameters, and Examples

The article explains PHP's ceil() function, detailing its syntax, parameter, and behavior with positive, negative, and integer values, and provides four code examples demonstrating rounding up numbers, while noting that the function only works with numeric data.

PHPRoundingbackend-development
0 likes · 3 min read
Using PHP ceil() Function: Syntax, Parameters, and Examples
php Courses
php Courses
Aug 12, 2023 · Backend Development

Using natcasesort() in PHP for Natural Case‑Insensitive Array Sorting

This article explains how PHP's natcasesort() function performs natural, case‑insensitive sorting on one‑dimensional arrays, modifies the original array in place, returns a boolean status, and provides usage examples and important considerations.

PHParray sortingcase-insensitive
0 likes · 3 min read
Using natcasesort() in PHP for Natural Case‑Insensitive Array Sorting
php Courses
php Courses
Aug 12, 2023 · Backend Development

Encrypting and Decrypting Form Data with PHP

This article explains how to securely encrypt and decrypt user‑submitted form data in PHP using the AES‑256‑CBC algorithm, providing step‑by‑step code examples for creating encryption/decryption functions, applying them to form inputs, and emphasizing key safety and HTTPS.

BackendForm SecurityPHP
0 likes · 4 min read
Encrypting and Decrypting Form Data with PHP
21CTO
21CTO
Aug 11, 2023 · Backend Development

Why PHP Still Dominates Server‑Side Development in 2023: Key Stats and Trends

The 2023 PHP report reveals that PHP holds a 77.5% market share among server‑side languages, outlines its dominant use in APIs, CMS and internal apps, details deployment preferences, container and orchestration adoption, version distribution, and the major challenges teams face when upgrading.

ContainerizationDeploymentMarket Share
0 likes · 10 min read
Why PHP Still Dominates Server‑Side Development in 2023: Key Stats and Trends