Note: articles are for educational purposes and are not professional security advice — consult an expert for your specific needs.

PHP

The PHP section is for developers who build or maintain PHP applications, from a first script to code that runs in production. Its tutorials work through complete examples rather than isolated snippets: a registration form with validation, reading and writing files, sessions and logins, calling an external API, and a whole event-booking site. Framework guides, Laravel among them, have a section of their own; this one stays with the language and the problems every PHP application meets, whatever it is built on.

New to the language? Start with PHP fundamentals: variables, data types, control structures and functions, then form handling and data validation and file handling in PHP.

Security matters as much as features. Preventing SQL injection covers the most common mistake in PHP code, and the section follows vulnerabilities in PHP itself, such as CVE-2026-115560 in session upload progress, with the settings to change while a fix is pending.

Category · 16 articles · Follow PHP

Latest in PHP

16 articles
Cyber Security

PHP2Shell vulnerability: PHP code execution without login

A new PHP flaw nicknamed PHP2Shell lets an attacker take over a server with a single request — no login, no stolen password, no bug in your code required. Here's exactly how CVE-2026-109618 and CVE-2026-109619 work, how to check if you're exposed with a free script, and how to fix it before someone else finds it first.

16 min read
Python

10 Alternatives to Python for Coding

Explore the top 10 alternatives to Python for superior coding functionalities in 2023. Uncover the distinctive features of each programming language to enhance your coding prowess.

4 min read
PHP

PHP Online Event Booking Platform: Real-World Project

Explore the development of a dynamic online event booking platform using PHP. This real-world project showcases the practical application of PHP in creating feature-rich web solutions, including user authentication, event search, booking, and payment processing.

2 min read
PHP

Sessions and Authentication in Web Development: PHP Examples

Explore the vital aspects of sessions and authentication in web development, using real-world examples. Learn how to create, manage, and utilize sessions, as well as implement secure authentication mechanisms to protect user data and personalize experiences.

3 min read
PHP

File Handling and Manipulation in PHP: Read, Write, Manage

Dive into the essential techniques of file handling and manipulation in PHP. From reading and writing files to uploading and managing user-generated content, this guide provides detailed insights into common file operations and best practices.

2 min read
PHP

Preventing SQL Injection in PHP E-Commerce Applications

Explore the essentials of securing PHP applications with a real-world example of preventing SQL injection in an e-commerce platform. Learn how to use prepared statements to create a robust defense against one of the most common vulnerabilities.

4 min read
PHP

Web Form Handling and Validation: User Registration Example

Explore the essential techniques of form handling and data validation in web development through a real-world example of a user registration system. Learn how to create robust forms, validate user input, and ensure data integrity and security.

4 min read
$ subscribe --weekly

Get the next tutorial in your inbox.

Programming, security and AI — the practical bits, no spam. Unsubscribe any time.