Tagged articles
3002 articles
Page 22 of 31
php Courses
php Courses
Aug 1, 2022 · Frontend Development

Implementation of a Drag-and-Drop Captcha Using PHP and JavaScript

This article presents a step‑by‑step tutorial on creating a drag‑and‑drop captcha, covering the project repository, visual examples, underlying logic, PHP and JavaScript APIs, installation via Composer, and a link to the original detailed guide.

JavaScriptPHPTutorial
0 likes · 2 min read
Implementation of a Drag-and-Drop Captcha Using PHP and JavaScript
php Courses
php Courses
Jul 27, 2022 · Backend Development

Comprehensive Summary of PHP 5–8 Version Features

This article provides a detailed overview of the major features introduced in PHP versions 5 through 8, including autoloading, PDO, MySQLi, namespaces, traits, built‑in server, scalar type declarations, nullable types, JIT compilation, named arguments, union types, match expressions, and many useful code examples.

Code ExamplesPHPVersion Features
0 likes · 15 min read
Comprehensive Summary of PHP 5–8 Version Features
php Courses
php Courses
Jul 15, 2022 · Backend Development

Understanding PHP in_array() Pitfalls and Proper Usage

This article explains how the PHP in_array() function can return misleading results when the strict comparison flag is omitted, demonstrates the issue with a simple code example, and shows the correct usage as well as a comparable JavaScript approach using indexOf().

BackendPHParray_search
0 likes · 2 min read
Understanding PHP in_array() Pitfalls and Proper Usage
Baidu Geek Talk
Baidu Geek Talk
Jul 7, 2022 · Fundamentals

Mastering the Observer Pattern: Real‑World Java and PHP Examples

This article explains the Observer design pattern, outlines its advantages and drawbacks, and demonstrates practical implementations through three real‑world scenarios—weather forecasting, payment processing, and data subscription—providing complete Java and PHP code samples that illustrate subjects, observers, and notification mechanisms.

Design PatternsObserver PatternPHP
0 likes · 12 min read
Mastering the Observer Pattern: Real‑World Java and PHP Examples
Laravel Tech Community
Laravel Tech Community
Jun 30, 2022 · Fundamentals

Insertion Sort Implementation in PHP

This article explains the insertion sort algorithm, describes how it repeatedly inserts each element into its correct position in a growing sorted portion of the array, and provides a complete PHP function that sorts a numeric array while preserving stability.

PHPSorting Algorithmfundamentals
0 likes · 2 min read
Insertion Sort Implementation in PHP
21CTO
21CTO
Jun 24, 2022 · Backend Development

Understanding PHP’s New Readonly Classes: Benefits, Syntax, and Limitations

The PHP RFC introduces readonly classes, allowing all properties of a class to be immutable, prohibiting dynamic and static properties, and providing reflection support, with examples, restrictions, inheritance rules, and compatibility notes, helping developers write safer, more robust code.

PHPReflectionimmutability
0 likes · 5 min read
Understanding PHP’s New Readonly Classes: Benefits, Syntax, and Limitations
Laravel Tech Community
Laravel Tech Community
Jun 14, 2022 · Fundamentals

Bubble Sort Algorithm Explained with PHP Implementation

This article explains the Bubble Sort algorithm, its O(n²) time and O(1) space complexities, describes the step‑by‑step sorting process, provides a complete PHP implementation, and shows sample input and output to illustrate how the algorithm orders data.

Code ExamplePHPSorting Algorithm
0 likes · 3 min read
Bubble Sort Algorithm Explained with PHP Implementation
Laravel Tech Community
Laravel Tech Community
Jun 14, 2022 · Operations

LNMP One-Click Installation Package V1.9 Release Notes and Usage Guide

The LNMP one‑click installation package V1.9 adds support for Rocky Linux, AlmaLinux, CentOS Stream 9 and several Chinese Linux distributions, introduces PHP 8.1, new PHP extensions, MySQL 5.7/8.0 binaries, IPv6 and ZeroSSL options, and provides detailed management commands for deploying and maintaining Nginx, MySQL, PHP and related services.

LNMPLinuxOperations
0 likes · 7 min read
LNMP One-Click Installation Package V1.9 Release Notes and Usage Guide
Laravel Tech Community
Laravel Tech Community
May 16, 2022 · Information Security

Preventing Replay Attacks with Timestamps and Nonces in PHP

The article explains replay attacks, describes how using a timestamp, a nonce, or a combination of both can protect API requests, and provides complete PHP code examples for signing and verifying requests to ensure each call is accepted only once.

PHPReplay attacknonce
0 likes · 7 min read
Preventing Replay Attacks with Timestamps and Nonces in PHP
58 Tech
58 Tech
May 12, 2022 · Backend Development

Refactoring PHP Calls to Java Interfaces: Architecture, Code Generation, and Seamless Integration

The article details the challenges of PHP invoking Java interfaces, compares two existing solutions, and presents a comprehensive refactoring approach that automates code conversion, resolves generic parsing and sandbox debugging issues, and reduces the integration steps from eight to three for more efficient backend development.

PHPSCFService Orchestration
0 likes · 11 min read
Refactoring PHP Calls to Java Interfaces: Architecture, Code Generation, and Seamless Integration
php Courses
php Courses
May 11, 2022 · Backend Development

High-Concurrency Web Architecture: Concepts, Load Balancing, CDN, and PHP Concurrency Practices

This article explains key high‑concurrency web concepts such as QPS, throughput, and response time, then details traffic and server optimizations, load‑balancing strategies (L4/L7, Nginx, LVS), CDN fundamentals, process/thread/coroutine models, asynchronous I/O, PHP Swoole concurrency, and database caching techniques for scalable backend systems.

CDNDatabase CachingNginx
0 likes · 22 min read
High-Concurrency Web Architecture: Concepts, Load Balancing, CDN, and PHP Concurrency Practices
High Availability Architecture
High Availability Architecture
May 10, 2022 · Backend Development

Laravel vs Yii: A Comprehensive Comparison

This article compares the PHP web frameworks Laravel and Yii, detailing their core features, installation requirements, validation, routing, CRUD generation, extensions, migrations, testing, security, and documentation, and provides scored evaluations to help developers choose the most suitable framework for their projects.

ComparisonLaravelPHP
0 likes · 9 min read
Laravel vs Yii: A Comprehensive Comparison
Laravel Tech Community
Laravel Tech Community
May 9, 2022 · Backend Development

Using JSON in PHP: json_encode and json_decode Explained with Examples

This article explains the fundamentals of JSON, its syntax rules, and demonstrates how PHP's json_encode and json_decode functions convert between arrays and JSON strings, including examples of sequential, non‑sequential, and multidimensional arrays, and the effect of the associative‑array option.

BackendPHPdata serialization
0 likes · 4 min read
Using JSON in PHP: json_encode and json_decode Explained with Examples
Laravel Tech Community
Laravel Tech Community
Apr 28, 2022 · Information Security

Understanding OS Command Injection in PHP and How to Prevent It

The article explains how PHP functions like exec(), system(), passthru(), popen(), backtick operator, shell_exec() and pcntl_exec() can be abused for OS command injection, demonstrates vulnerable code examples, and provides practical mitigation techniques to secure web applications.

OS command injectionPHPWeb Security
0 likes · 6 min read
Understanding OS Command Injection in PHP and How to Prevent It
Laravel Tech Community
Laravel Tech Community
Apr 26, 2022 · Backend Development

MDword: PHP Library for Dynamically Generating Word Documents – Features, Comparison with PHPWord, and Usage Guide

This article introduces MDword, a PHP library for programmatically creating Word documents, outlines its recent updates, compares it with PHPWord, and provides step‑by‑step installation and usage examples including code snippets for template processing, image insertion, and document saving.

Document AutomationPHPbackend-development
0 likes · 4 min read
MDword: PHP Library for Dynamically Generating Word Documents – Features, Comparison with PHPWord, and Usage Guide
Laravel Tech Community
Laravel Tech Community
Apr 26, 2022 · Frontend Development

Understanding Cross-Origin Requests and PHP Solutions for CORS

This article explains what cross‑origin (CORS) is, how the browser's same‑origin policy restricts scripts, lists allowed tags, describes common cross‑origin scenarios, and provides practical PHP header code, proxy techniques, and Nginx reverse‑proxy configurations to resolve CORS issues.

CORSCross-OriginPHP
0 likes · 8 min read
Understanding Cross-Origin Requests and PHP Solutions for CORS
IT Architects Alliance
IT Architects Alliance
Apr 14, 2022 · Backend Development

Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x

SAPI++ is an open‑source multi‑application, multi‑tenant SaaS framework built on ThinkPHP 6.x, offering out‑of‑the‑box installation, API authentication, menu integration, and support for various front‑end technologies; the article details its features, advantages, required environment, and directory layout for developers.

PHPSAPI++SaaS Framework
0 likes · 9 min read
Exploring SAPI++: A Multi‑Tenant SaaS Framework Powered by ThinkPHP 6.x
Laravel Tech Community
Laravel Tech Community
Apr 12, 2022 · Information Security

Common PHP Weak‑Type Vulnerabilities: MD5 Collision, is_numeric, in_array, switch, and intval Issues

This article explains several PHP weak‑type pitfalls—including MD5 hash collisions, improper handling by is_numeric, unexpected behavior of in_array and switch, and intval casting quirks—showing how they can lead to security problems such as hash collisions, SQL injection, and logic errors.

Hash CollisionPHPWeak Typing
0 likes · 4 min read
Common PHP Weak‑Type Vulnerabilities: MD5 Collision, is_numeric, in_array, switch, and intval Issues
Laravel Tech Community
Laravel Tech Community
Apr 5, 2022 · Information Security

Preventing XSS Attacks in PHP: Best Practices and Code Examples

This article explains various methods to prevent XSS injection in PHP, covering the limitations of built‑in filters, proper use of htmlspecialchars and htmlentities, replacement techniques, and provides comprehensive PHP functions with code examples for sanitizing user input and removing malicious scripts.

Code ExamplePHPWeb Security
0 likes · 7 min read
Preventing XSS Attacks in PHP: Best Practices and Code Examples
21CTO
21CTO
Mar 31, 2022 · Backend Development

Print GitHub Issue Receipts with a Raspberry Pi and PHP

This guide shows how to connect an Epson TM‑T88IV thermal receipt printer to a Raspberry Pi Zero W, install a PHP ESC/POS library, configure udev rules, set up a GitHub webhook via ngrok, and automatically print issue details as receipts.

ESC/POSGitHub WebhooksPHP
0 likes · 9 min read
Print GitHub Issue Receipts with a Raspberry Pi and PHP
21CTO
21CTO
Mar 30, 2022 · Frontend Development

What’s New in GitLab 14.9, React 18, and a DIY GitHub Issue Printer?

The article covers DJI’s denial of aiding Russia, the latest features in GitLab 14.9, the official launch of React 18 with its new concurrent capabilities, and a developer’s creative project that prints GitHub issues using a Raspberry Pi‑connected receipt printer.

DJIGitHubGitLab
0 likes · 8 min read
What’s New in GitLab 14.9, React 18, and a DIY GitHub Issue Printer?
Laravel Tech Community
Laravel Tech Community
Mar 7, 2022 · Backend Development

Understanding PHP Traits: Usage, Conflict Resolution, and Advanced Features

This article explains PHP's Trait feature, showing how to use it for multiple inheritance, resolve method and property conflicts with insteadof and as, combine multiple Traits, and leverage advanced capabilities such as abstract methods and static members, all illustrated with complete code examples.

Code ExampleMultiple InheritancePHP
0 likes · 7 min read
Understanding PHP Traits: Usage, Conflict Resolution, and Advanced Features
Laravel Tech Community
Laravel Tech Community
Mar 6, 2022 · Backend Development

PHP Form Validation Tutorial with Security Best Practices

This article provides a comprehensive PHP form validation tutorial, covering required and optional fields, validation rules using regular expressions, secure handling of user input with trim, stripslashes, and htmlspecialchars, prevention of XSS via $_SERVER['PHP_SELF'] sanitization, and includes complete example code for both the HTML form and processing script.

BackendPHPXSS
0 likes · 9 min read
PHP Form Validation Tutorial with Security Best Practices
Alibaba Cloud Native
Alibaba Cloud Native
Feb 26, 2022 · Backend Development

How Serverless Transforms PHP Development: From LAMP to Elastic FaaS

This article explains why PHP dominates web development, outlines the operational burdens of traditional LAMP/LNMP stacks, and shows how serverless Function‑as‑a‑Service platforms—especially Alibaba Cloud's Custom Runtime—enable PHP applications to run without managing servers, scale elastically, and simplify deployment with practical examples like WordPress.

DevOpsFaaSPHP
0 likes · 13 min read
How Serverless Transforms PHP Development: From LAMP to Elastic FaaS
Laravel Tech Community
Laravel Tech Community
Feb 24, 2022 · Backend Development

PHP 8.1.3 Security Release: Bug Fixes and Updates

PHP 8.1.3 has been released as a security‑focused update that fixes numerous core, FFI, filter, FPM, MBString, MySQLnd, pcntl, sockets, and standard extension bugs, and users of the 8.1 series are encouraged to upgrade promptly.

BackendBug FixesPHP
0 likes · 2 min read
PHP 8.1.3 Security Release: Bug Fixes and Updates
Laravel Tech Community
Laravel Tech Community
Feb 16, 2022 · Databases

Using Phinx for Database Migrations in ThinkPHP

This tutorial explains how to install, configure, and operate Phinx within a ThinkPHP project to manage database schema migrations, create and run seed data, update tables, roll back changes, and keep development environments synchronized.

CLIPHPPhinx
0 likes · 6 min read
Using Phinx for Database Migrations in ThinkPHP
21CTO
21CTO
Feb 12, 2022 · Backend Development

What’s New in PHP 8.1? Enums, Read‑only Properties, Async & Serverless Insights

The article reports Alexa’s shutdown and TIOBE’s shift to Similarweb, highlights the February TIOBE Top‑20 rankings with Python, C and Java gains, and dives into PHP 8.1’s new features—including enums, read‑only properties, async support, serverless frameworks, and a thriving ecosystem.

8.1AsyncEnums
0 likes · 5 min read
What’s New in PHP 8.1? Enums, Read‑only Properties, Async & Serverless Insights
21CTO
21CTO
Feb 9, 2022 · Backend Development

What’s New in Laravel 9? Explore the Latest Backend Features

Laravel 9, the first LTS release after a 12‑month cycle, brings PHP 8 support, Symfony Mailer integration, Flysystem 3.x, enhanced Eloquent accessors, new route group features, and a host of other backend improvements for modern web development.

FrameworkLaravelLaravel 9
0 likes · 4 min read
What’s New in Laravel 9? Explore the Latest Backend Features
php Courses
php Courses
Jan 6, 2022 · Backend Development

Implementing Redis Cache in PHP Using the __call Magic Method

This article explains how to integrate Redis caching into PHP applications by leveraging the __call magic method to create cache, clear, and flush operations for model methods, enabling shared model layers, resource‑efficient caching, flexible data source selection, and clean, reusable code.

BackendModelPHP
0 likes · 7 min read
Implementing Redis Cache in PHP Using the __call Magic Method
Laravel Tech Community
Laravel Tech Community
Dec 27, 2021 · Backend Development

New Features in PHP 8.1

The article outlines PHP 8.1’s major enhancements—including enums, readonly properties, advanced callable syntax, fibers, intersection types, never return type, final class constants, octal literals, and performance improvements—providing code comparisons that illustrate the new syntax and behavior.

8.1EnumsFibers
0 likes · 9 min read
New Features in PHP 8.1
php Courses
php Courses
Dec 8, 2021 · Backend Development

Top 10 New Features in PHP 8.1

This article introduces the ten most important new features of PHP 8.1—including enums, fibers, the never return type, readonly properties, final class constants, array_is_list(), fsync/fdatasync, string‑key array unpacking, the $_FILES full_path key, and the IntlDatePatternGenerator class—each explained with clear code examples.

BackendEnumsFibers
0 likes · 15 min read
Top 10 New Features in PHP 8.1
Laravel Tech Community
Laravel Tech Community
Dec 5, 2021 · Backend Development

PHP 8.1 Release and Performance Benchmark Report

The article announces the official release of PHP 8.1 and presents a detailed performance benchmark conducted on an Ubuntu Linux AMD EPYC 72F3 server, comparing multiple PHP versions and highlighting the roughly 4% speed improvement of PHP 8.1 over its predecessor.

LinuxPHPVersion 8.1
0 likes · 4 min read
PHP 8.1 Release and Performance Benchmark Report
Laravel Tech Community
Laravel Tech Community
Dec 2, 2021 · Backend Development

Laravel 8.74.0 Release Notes: New Features, Fixes, and Changes

The Laravel 8.74.0 release introduces new commands, helper methods, Eloquent aggregation, string reversal, database notification type customization, full‑text indexing, and several bug fixes and performance improvements, while also upgrading Symfony to 5.4 and refining queue connection handling.

FrameworkLaravelPHP
0 likes · 2 min read
Laravel 8.74.0 Release Notes: New Features, Fixes, and Changes
Laravel Tech Community
Laravel Tech Community
Dec 1, 2021 · Backend Development

Top 10 Popular PHP Frameworks You Should Know

This article reviews the ten most widely used PHP frameworks—Laravel, ThinkPHP, Yii, CodeIgniter, Symfony, CakePHP, Zend, Phalcon, FuelPHP, and Slim—highlighting their origins, key features, typical use cases, and the latest versions to help developers choose the right tool for their web projects.

CodeIgniterLaravelPHP
0 likes · 10 min read
Top 10 Popular PHP Frameworks You Should Know
21CTO
21CTO
Dec 1, 2021 · Backend Development

How Much Faster Is PHP 8.1? In‑Depth Benchmark Results Across Versions

An extensive Phoronix benchmark on Ubuntu‑based AMD EPYC servers compares PHP 8.1 with earlier releases, revealing roughly 4 % speed gains over PHP 8.0, lower peak memory usage, and consistent performance improvements across micro‑benchmarks, XML parsing, and JSON generation.

BackendPHPServer
0 likes · 5 min read
How Much Faster Is PHP 8.1? In‑Depth Benchmark Results Across Versions
Laravel Tech Community
Laravel Tech Community
Nov 30, 2021 · Backend Development

Symfony v6.0.0 Released: New Features, Bug Fixes, and Improvements

Symfony v6.0.0, an MVC‑based PHP framework, has been released, offering enterprise‑grade robustness, extensive configurability, and bundled tools, while introducing numerous bug fixes and new features such as a Vonage notifier bridge, enhanced DBAL support, and restored JSON type handling.

BugFixesFrameworkPHP
0 likes · 3 min read
Symfony v6.0.0 Released: New Features, Bug Fixes, and Improvements
21CTO
21CTO
Nov 29, 2021 · Backend Development

Why PHP’s Bus Factor Is Only 2 and What the New PHP Foundation Means

The article explains how PHP’s alarmingly low bus factor of two sparked the creation of the PHP Foundation, detailing the key contributors, the backing companies, funding goals, and how the foundation aims to raise the bus factor and sustain core development.

PHPbackend-developmentbus factor
0 likes · 6 min read
Why PHP’s Bus Factor Is Only 2 and What the New PHP Foundation Means
360 Tech Engineering
360 Tech Engineering
Nov 26, 2021 · Backend Development

Implementing a Redis Message Queue with RPUSH and BLPOP in PHP

This article explains how to build a Redis‑based message queue for high‑concurrency business scenarios using RPUSH to enqueue tasks and BLPOP to block‑wait for consumption, illustrated with a PHP cancel‑order example and detailed configuration and code snippets.

BLPOPMessage QueuePHP
0 likes · 6 min read
Implementing a Redis Message Queue with RPUSH and BLPOP in PHP
Beike Product & Technology
Beike Product & Technology
Nov 25, 2021 · Backend Development

Implementation of Hystrix Circuit Breaker in PHP: Counter Design, Bucket Strategies, Distributed Time Sync, and Performance Evaluation

This article details the design and implementation of a Hystrix‑style circuit breaker for PHP, covering circular and fixed bucket counters, distributed time synchronization, dynamic Apollo configuration, event handling, monitoring tools, single‑node versus cluster approaches, key‑length handling, storage abstraction, and performance testing results.

HystrixPHPPerformance Testing
0 likes · 13 min read
Implementation of Hystrix Circuit Breaker in PHP: Counter Design, Bucket Strategies, Distributed Time Sync, and Performance Evaluation
php Courses
php Courses
Nov 19, 2021 · Backend Development

PHP 8.1 Introduces the array_is_list() Function

PHP 8.1 introduces the built‑in array_is_list() function, which determines whether an array’s keys form a sequential list starting at zero, simplifying checks that previously required manual verification, and the article provides usage examples, code snippets, and a link to the RFC.

BackendPHParray_is_list
0 likes · 3 min read
PHP 8.1 Introduces the array_is_list() Function
Open Source Tech Hub
Open Source Tech Hub
Nov 19, 2021 · Backend Development

How to Add Custom Super‑Admin Functions in Casbin

This guide explains step‑by‑step how to create, register, and use a custom function in Casbin to support multiple super‑admin users, including code examples for PHP anonymous functions and Enforcer registration.

BackendCasbinPHP
0 likes · 3 min read
How to Add Custom Super‑Admin Functions in Casbin
php Courses
php Courses
Nov 18, 2021 · Backend Development

Pure Intersection Types in PHP 8.1

The article explains PHP 8.1’s pure intersection types, how they differ from union types, demonstrates their use with an example function that combines multiple interfaces, and provides links to the official RFC and related PHP 8.1 feature articles.

BackendIntersection TypesPHP
0 likes · 3 min read
Pure Intersection Types in PHP 8.1
Laravel Tech Community
Laravel Tech Community
Nov 16, 2021 · Backend Development

session_unset – Releasing All Session Variables in PHP

The article explains PHP’s session_unset() function, which releases all session variables without returning a value, and includes a brief, light‑hearted promotion encouraging readers to follow and share daily PHP tips. The piece also notes that following provides motivation and sharing is a virtue, presented with humorous remarks.

PHPSession ManagementWeb Development
0 likes · 1 min read
session_unset – Releasing All Session Variables in PHP
php Courses
php Courses
Nov 16, 2021 · Backend Development

Understanding PHP 8.1 Fibers: Theory, Practical Use, and Limitations

This article explains the concept of PHP 8.1 Fibers, compares synchronous and parallel HTTP request handling, shows how to implement simple asynchronous workflows with sockets or ReactPHP, and discusses why Fibers are low‑level building blocks rather than a complete async solution.

AsyncBackendFibers
0 likes · 8 min read
Understanding PHP 8.1 Fibers: Theory, Practical Use, and Limitations
Laravel Tech Community
Laravel Tech Community
Nov 15, 2021 · Backend Development

session_save_path — Get or Set the Current Session Save Path (PHP)

The article explains PHP's session_save_path function, detailing its syntax, how it returns or sets the session storage directory, the required path parameter, and the necessity to call it before session_start(), providing essential guidance for backend developers managing session data.

BackendConfigurationPHP
0 likes · 1 min read
session_save_path — Get or Set the Current Session Save Path (PHP)
Laravel Tech Community
Laravel Tech Community
Nov 14, 2021 · Backend Development

session_register_shutdown — Close Session

The article explains the PHP function session_register_shutdown, which registers a shutdown handler that closes the session by invoking session_write_close(), takes no parameters, returns no value, and serves as a convenient way to ensure session data is saved at script termination.

PHPfunctionprogramming
0 likes · 1 min read
session_register_shutdown — Close Session
php Courses
php Courses
Nov 11, 2021 · Backend Development

PHP 8.1 Enums: Introduction and Usage

This article explains PHP 8.1’s native enum feature, covering basic enum definitions, typed properties, methods, backed enums, serialization, case listing, reflection, traits, and practical code examples to help backend developers adopt enums in their projects.

BackendEnumsPHP
0 likes · 6 min read
PHP 8.1 Enums: Introduction and Usage
Laravel Tech Community
Laravel Tech Community
Nov 9, 2021 · Fundamentals

TIOBE November 2021 Programming Language Rankings and Trends

The TIOBE Index for November 2021 shows Python retaining the top spot while PHP slips to the lower end of the top ten, highlights notable movements for languages such as Lua, Dart, Kotlin, and provides detailed rankings for the top 100 programming languages along with historical trend charts.

Language TrendsPHPPython
0 likes · 6 min read
TIOBE November 2021 Programming Language Rankings and Trends
Laravel Tech Community
Laravel Tech Community
Nov 9, 2021 · Backend Development

session_id — Get/Set the Current Session ID (PHP)

The article explains PHP's session_id() function, showing how to retrieve or set the current session ID, the optional id parameter requirements, character restrictions for different session handlers, and the function’s return behavior, including using the SID constant for URL integration.

BackendPHPSession
0 likes · 2 min read
session_id — Get/Set the Current Session ID (PHP)
Laravel Tech Community
Laravel Tech Community
Nov 8, 2021 · Backend Development

PHP session_destroy – Destroy All Data in a Session

The article explains PHP's session_destroy function, which deletes all data stored in the current session without resetting global variables or the session cookie, describes its return values, and provides a complete example showing how to start a session, clear variables, optionally remove the session cookie, and finally destroy the session.

BackendPHPSession
0 likes · 2 min read
PHP session_destroy – Destroy All Data in a Session
21CTO
21CTO
Nov 8, 2021 · Backend Development

Is PHP Still Relevant? Insights from the Latest TIOBE Rankings

The article examines the November 2021 TIOBE index, highlighting PHP's slip from the top ten, the rise of languages like Ruby, Groovy, Lua, Dart, and Kotlin, and discusses PHP's modern strengths, community support, and remaining drawbacks for backend development.

PHPSoftware DevelopmentTIOBE
0 likes · 7 min read
Is PHP Still Relevant? Insights from the Latest TIOBE Rankings
21CTO
21CTO
Oct 23, 2021 · Backend Development

Why We Dropped PHP for Go: Lessons from Rebuilding a High‑Traffic Gaming Platform

In this article, Poki engineers explain why they abandoned PHP in favor of Go while migrating to a micro‑service architecture, discuss the performance and operational benefits of Go, evaluate NoSQL options like MongoDB and Cassandra, and justify sticking with MySQL for their high‑traffic gaming platform.

GoNoSQLPHP
0 likes · 9 min read
Why We Dropped PHP for Go: Lessons from Rebuilding a High‑Traffic Gaming Platform
Laravel Tech Community
Laravel Tech Community
Oct 22, 2021 · Backend Development

apache_getenv — Retrieve Apache Subprocess Environment Variable

The article explains the PHP function apache_getenv, which retrieves the value of a specified Apache environment variable, describes its required Apache 2 context, details its parameters $variable and optional $walk_to_top, outlines the return value, and provides a usage example.

Environment VariablesPHPServer Configuration
0 likes · 2 min read
apache_getenv — Retrieve Apache Subprocess Environment Variable
Laravel Tech Community
Laravel Tech Community
Oct 20, 2021 · Backend Development

apache_get_version – Retrieve Apache Version Information

The article documents the PHP function apache_get_version, explaining that it returns the Apache server version string or FALSE on failure, lists that it takes no parameters, describes its return values, and provides a complete PHP example demonstrating its usage.

PHPbackend-developmentfunction
0 likes · 1 min read
apache_get_version – Retrieve Apache Version Information
Tencent Cloud Developer
Tencent Cloud Developer
Oct 19, 2021 · Backend Development

Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout

This comprehensive guide walks you through creating a gRPC user service in Go and PHP, from defining protobuf messages and generating code, implementing server and client stubs, adding client, server, and bidirectional streaming, securing communication with TLS certificates, and managing request deadlines with timeout controls.

GoPHPStreaming
0 likes · 33 min read
Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout
Laravel Tech Community
Laravel Tech Community
Oct 17, 2021 · Backend Development

PHP mail() Function – Sending Email

This article explains PHP's mail() function, detailing its parameters, usage cautions, return values, and provides a complete code example for sending an email via SMTP, including formatting of recipient addresses, subject line restrictions, message body limits, and header construction.

BackendEmailMail
0 likes · 3 min read
PHP mail() Function – Sending Email
Laravel Tech Community
Laravel Tech Community
Oct 10, 2021 · Information Security

Common PHP Security Vulnerabilities and Mitigation Strategies

This article outlines ten common PHP security threats—including SQL injection, XSS, CSRF, LFI, weak password hashing, MITM, command injection, XXE, improper error reporting, and login rate limiting—explaining how each attack works and providing practical mitigation techniques such as prepared statements, input sanitization, CSRF tokens, and HTTPS.

PHPWebmitigation
0 likes · 15 min read
Common PHP Security Vulnerabilities and Mitigation Strategies
php Courses
php Courses
Sep 26, 2021 · Backend Development

Implementation Guide for Student QR Code Seat Selection Feature in PHP

This article explains how to implement a student QR‑code seat‑selection feature using PHP, detailing database schema design, URL parsing, seat‑allocation logic, attendance tracking, and daily cleanup tasks, enabling teachers to monitor seating without login while automatically recording student attendance.

AttendanceBackendPHP
0 likes · 9 min read
Implementation Guide for Student QR Code Seat Selection Feature in PHP
Laravel Tech Community
Laravel Tech Community
Sep 11, 2021 · Information Security

Understanding SQL Injection Vulnerabilities in PHP and How to Prevent Them

This article explains the causes, impacts, and various techniques of SQL injection attacks in PHP applications, demonstrates vulnerable code examples, and provides practical mitigation measures such as input validation, error handling, character encoding considerations, and secure coding practices.

PHPSQL injectionVulnerability
0 likes · 10 min read
Understanding SQL Injection Vulnerabilities in PHP and How to Prevent Them
Tencent Cloud Developer
Tencent Cloud Developer
Sep 2, 2021 · Databases

Understanding Geohash: Principles, Implementation, and Applications

Geohash encodes latitude‑longitude pairs into short base‑32 strings by recursively bisecting coordinate ranges and interleaving bits, allowing fast proximity queries via prefix matching, with precision controlled by string length, and is supported natively in Redis and useful for location‑based services.

GeoHashPHPSpatial Indexing
0 likes · 12 min read
Understanding Geohash: Principles, Implementation, and Applications
Laravel Tech Community
Laravel Tech Community
Sep 2, 2021 · Backend Development

PHP imageloadfont Function: Loading Custom Bitmap Fonts

The article explains PHP's imageloadfont function, which loads a user‑defined bitmap font and returns its identifier, details its string parameter, return values (font ID or FALSE), notes platform‑specific binary format requirements, and provides a complete code example demonstrating image creation, font loading, text rendering, and output as PNG.

BackendImage ProcessingPHP
0 likes · 2 min read
PHP imageloadfont Function: Loading Custom Bitmap Fonts
Laravel Tech Community
Laravel Tech Community
Aug 30, 2021 · Backend Development

PHP 8.0.10 Release: Security Fixes and Bug Fixes Overview

The PHP 8.0.10 update, a security‑focused release, addresses numerous core, BCMath, CGI, Date, GD, MySQLi, Opcache, OpenSSL, PDO_ODBC, Phar, Shmop, SimpleXML, Standard, and Streams bugs, and users are encouraged to upgrade to benefit from these fixes.

BugFixesPHPVersion8.0
0 likes · 4 min read
PHP 8.0.10 Release: Security Fixes and Bug Fixes Overview
Laravel Tech Community
Laravel Tech Community
Aug 26, 2021 · Backend Development

Using Laravel Excel to Import and Export Excel/CSV Files in Laravel

This tutorial explains how to integrate the Laravel‑Excel package into a Laravel 5 project, covering Composer installation, service provider and alias configuration, publishing the configuration file, creating a controller with export and import methods, and handling CSV, XLS, and XLSX files both for download and server storage.

CSVExcelImportExport
0 likes · 5 min read
Using Laravel Excel to Import and Export Excel/CSV Files in Laravel
Laravel Tech Community
Laravel Tech Community
Aug 25, 2021 · Backend Development

Implementing Dependency Injection in PHP Using Reflection

This article explains how to build a simple PHP IoC container with reflection to automatically resolve constructor and method dependencies, demonstrates its use with example classes A, B, and C, and shows how to invoke methods with injected parameters.

Design PatternsPHPReflection
0 likes · 5 min read
Implementing Dependency Injection in PHP Using Reflection
php Courses
php Courses
Aug 24, 2021 · Backend Development

Configuring Alibaba Cloud Composer Mirror for PHP Projects

This guide explains how to set up Alibaba Cloud's Composer mirror, provides global and project‑specific configuration commands, and offers debugging and troubleshooting steps to ensure fast and reliable PHP package management using the latest Composer version.

BackendConfigurationMirror
0 likes · 3 min read
Configuring Alibaba Cloud Composer Mirror for PHP Projects
Laravel Tech Community
Laravel Tech Community
Aug 23, 2021 · Fundamentals

Pros and Cons of JavaScript, Haskell, Go, and PHP

This article compares four popular programming languages—JavaScript, Haskell, Go, and PHP—by outlining their key advantages such as rapid prototyping, functional features, simplicity, and ecosystem support, as well as their notable drawbacks including dynamic typing, steep learning curves, lack of generics, and quirky language behaviors.

GoHaskellJavaScript
0 likes · 10 min read
Pros and Cons of JavaScript, Haskell, Go, and PHP
Laravel Tech Community
Laravel Tech Community
Aug 23, 2021 · Backend Development

PHP imagefill() Function: Area Fill in Images

This article explains PHP's imagefill() function, detailing its purpose for region filling in images, describing each parameter (image resource, x and y coordinates, and color), the return values, and provides a complete example script demonstrating its usage.

BackendGDImage Processing
0 likes · 2 min read
PHP imagefill() Function: Area Fill in Images
Laravel Tech Community
Laravel Tech Community
Aug 20, 2021 · Backend Development

PHP imagecreatetruecolor Function: Creating True Color Images

The article explains PHP's imagecreatetruecolor function, detailing its purpose of creating a true‑color image resource, required parameters width and height, version compatibility notes, return values, and provides a complete example script that generates a PNG with custom text.

BackendGDImage Processing
0 likes · 2 min read
PHP imagecreatetruecolor Function: Creating True Color Images
php Courses
php Courses
Aug 17, 2021 · Backend Development

Quickly Generate QR Codes in PHP Using phpqrcode

This tutorial explains how to use the open‑source phpqrcode library in PHP to generate QR codes, covering library installation, sample code, function parameters, and displaying the resulting image for easy integration into web projects.

BackendPHPTutorial
0 likes · 4 min read
Quickly Generate QR Codes in PHP Using phpqrcode
Architecture Digest
Architecture Digest
Aug 12, 2021 · Backend Development

Implementing Real-Time Leaderboards with Redis in PHP

This article explains how to design and implement a real-time ranking system for a mobile tank game using Redis sorted sets, covering leaderboard categories, composite scoring formulas, dynamic updates, data retrieval with pipelines, and provides a complete PHP class example.

Composite ScorePHPSorted Set
0 likes · 10 min read
Implementing Real-Time Leaderboards with Redis in PHP