Tagged: PHP
30 articles tagged PHP across all clusters on CodeWalkers.
PHP Composer Guide: Dependencies, Updates, and Security
Learn Composer for PHP: composer.json vs composer.lock, require-dev, version constraints, install vs update, PSR-4 autoloading, composer audit, and supply-chain safety.
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.
Programming Learning Paths: Choose Your First Project
Choose a programming learning path for websites, Python scripts, PHP web apps, or SQL. Follow the prerequisites, project steps, and progress checks.
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.
PHP XML Guide: SimpleXML, XMLReader, and XMLWriter
Parse XML in PHP with SimpleXML for small documents, XMLReader for large feeds, and safer defaults for untrusted input.
PHP Frameworks Compared
Compare Laravel, Symfony, CakePHP, Slim, and Fat-Free Framework for modern PHP projects.
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.
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.
Send Email in PHP: SMTP, HTML, and Attachments
Modernize legacy PHP email tutorials around SMTP, attachments, header safety, deliverability, and when to avoid direct mail().
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.
PHP Email Validation: Filters and Verification
Validate email-address shape in PHP with filter_var, then separate syntax checks from confirmation, deliverability, and account ownership.
PHP Sockets: TCP Connections, Reads, and Timeouts
Use PHP streams and sockets for network clients, raw protocol work, and long-running services without copying old blocking socket habits.
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.
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.
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.
PHP Conditionals and Control Flow
Use if, elseif, switch, and match in PHP without letting loose comparisons or fallthrough hide bugs.
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.
PHP Security: Passwords, Forms, Sessions, and Uploads
Secure ordinary PHP surfaces with current password hashing, sessions, CSRF tokens, output escaping, prepared statements, and upload controls.
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.
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.
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.
PHP Guide: Server-Side Web, Tutorials, OOP, and Frameworks
A beginner's introduction to PHP: whether it is worth learning in 2026, what runs on it, PHP or Node, whether it is secure, how coding agents change the work, and a roadmap to every PHP guide.
PHP PDO Guide: MySQL Queries and Prepared Statements
Use PDO prepared statements to connect PHP to MySQL safely and keep SQL input handling clear.
Working with Text Files in PHP
Read, write, append, lock, and stream text files in PHP without copying old unsafe file-handling habits.
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.
PHP Recursion: Functions, Trees, and Base Cases
Understand recursion in PHP with base cases, stack limits, tree traversal, memoization, cycle guards, and the point where iteration is safer.
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.
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.
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.
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.