Tagged: PHP

29 articles tagged PHP across all clusters on CodeWalkers.

Programming

PHP Tutorials: Build Real Projects Step by Step

Hands-on PHP tutorials from the classic CodeWalkers archive, rebuilt for modern PHP: dynamic sites, a mini chat app, search, email, image handling, and more.

By Mark Gates
Programming Beginner

Programming Learning Paths

Ordered programming learning paths for PHP, SQL, APIs, browser projects, and future language tracks.

By Mark Gates
Programming Intermediate

PHP Configuration: php.ini, FPM, and Per-Directory Files

Control PHP behavior through php.ini, scanned INI files, FPM or Apache settings, per-directory files, and careful script-level overrides.

By Mark Gates
Programming Intermediate

Processing XML with PHP

Parse XML in PHP with SimpleXML for small documents, XMLReader for large feeds, and safer defaults for untrusted input.

By Mark Gates
Programming Intermediate

PHP Frameworks Compared

Compare Laravel, Symfony, CakePHP, Slim, and Fat-Free Framework for modern PHP projects.

By Mark Gates
Programming Intermediate

Form and Spelling Validation in PHP

Validate PHP form input with browser hints, server-side rules, CSRF tokens, database constraints, and a realistic spellcheck boundary.

By Mark Gates
Programming Intermediate

Build a Mini Chat App with PHP

Modernize the old PHP mini-chat pattern with PDO, sessions, CSRF protection, escaped output, and a clear polling or SSE boundary.

By Mark Gates
Programming Intermediate

Sending Email in PHP

Modernize legacy PHP email tutorials around SMTP, attachments, header safety, deliverability, and when to avoid direct mail().

By Mark Gates
Programming Advanced

Streaming Media with PHP

Use PHP to authorize protected MP3 and media access without pretending browser playback can make a full file impossible to download.

By Mark Gates
Programming Beginner

PHP Email Validation

Validate email-address shape in PHP with filter_var, then separate syntax checks from confirmation, deliverability, and account ownership.

By Mark Gates
Programming Advanced

Using Sockets in PHP

Use PHP streams and sockets for network clients, raw protocol work, and long-running services without copying old blocking socket habits.

By Mark Gates
Programming Advanced

Build a Custom API with PHP

Finish the PHP web-app path with a small JSON API, HTTP methods, status codes, validation, PDO, and an OpenAPI-ready contract.

By Mark Gates
Programming Beginner

Build Dynamic Sites with PHP and MySQL

Start the PHP web-app path with one small dynamic site, a clean data model, PDO queries, and plain request handling.

By Mark Gates
Programming Intermediate

Composite Images with PHP and GD

Use PHP and GD to place a logo, watermark, badge, or foreground PNG over a source image and save the merged result as a real file.

By Mark Gates
Programming Beginner

PHP Conditionals and Control Flow

Use if, elseif, switch, and match in PHP without letting loose comparisons or fallthrough hide bugs.

By Mark Gates
Programming Intermediate

Add News and Comments with PHP and MySQL

Extend a small PHP/MySQL app with news posts, comments, simple moderation, PDO writes, and escaped output.

By Mark Gates
Programming Intermediate

PHP Security Fundamentals

Secure ordinary PHP surfaces with current password hashing, sessions, CSRF tokens, output escaping, prepared statements, and upload controls.

By Mark Gates
Programming Beginner

PHP OOP for Beginners

Learn the PHP object-oriented programming shape that still matters in 2026: classes, methods, constructors, repositories, and the limits of inheritance.

By Mark Gates
Programming Intermediate

Import CSV into SQL: Load, Validate, and Transaction Paths

Move CSV data into MySQL, PostgreSQL, SQLite, or a PHP/PDO import flow without losing validation, transactions, or schema discipline.

By Mark Gates
Programming Intermediate

Create Image Thumbnails with PHP

Generate thumbnail files with PHP and GD, keep uploaded paths safe, preserve aspect ratios, and hand the browser real thumbnail assets.

By Mark Gates
Programming Beginner

PHP Guide: Server-Side Web, Tutorials, OOP, and Frameworks

Modern PHP reference guides for frameworks, PDO, configuration, pagination, conditionals, forms, files, sockets, media streaming, mini chat apps, XML, templates, OOP, APIs, email, SOAP, recursion, SQL-backed apps, and security fundamentals.

By Mark Gates
Programming Beginner

PHP and MySQL with PDO

Use PDO prepared statements to connect PHP to MySQL safely and keep SQL input handling clear.

By Mark Gates
Programming Beginner

Working with Text Files in PHP

Read, write, append, lock, and stream text files in PHP without copying old unsafe file-handling habits.

By Mark Gates
Programming Intermediate

Smart Auto Refresh with PHP

Build a PHP endpoint that tells the browser when data changed, returns small JSON deltas, and avoids full-page refreshes for chat boxes, dashboards, and status panels.

By Mark Gates
Programming Intermediate

Recursion in PHP

Understand recursion in PHP with base cases, stack limits, tree traversal, memoization, cycle guards, and the point where iteration is safer.

By Mark Gates
Programming Beginner

PHP Pagination with Previous and Next Links

Build previous and next links in PHP with validated page numbers, PDO queries, LIMIT/OFFSET, and a clear path to cursor pagination.

By Mark Gates
Programming Intermediate

Writing a Template System in PHP

Build a small PHP template renderer with includes, output buffering, escaping, and path safety before deciding whether you need Twig, Blade, or a framework.

By Mark Gates
Programming Beginner

The LAMP Stack Explained

What the LAMP stack is, why Linux, Apache, MySQL or MariaDB, and PHP still run so much of the web, and when to reach for it.

By Mark Gates
Programming Intermediate

Add Search to a PHP and MySQL App

Extend the PHP web-app path with prepared search queries, pagination, indexed SQL, and a clean upgrade path to full-text search.

By Mark Gates