Skip to Content
PHP icon

PHP

Learn more about PHP by reading up on these informative articles, tutorials, and code snippets on Orangeable.

Top Posts


Send HTML Emails with the PHP PEAR Mail Library


Learn how to set up a PHP PEAR Mail Library installation on a Ubuntu server with the ability to send HTML emails via SMTP.

Merge PDF Files with PHP and GhostScript


This article provides a quick tutorial on merging multiple PDF files into a single file programmatically using PHP and Ghostscript

What is PHP? How PHP Works & What It's Used For


What is PHP? Learn how PHP works, what it's used for, and how to create a script in this descriptive and in-depth article.


More Posts


How to Create a 301 Redirect with PHP


In this article, we'll discover how to implement a 301 redirect in PHP including benefits and best practices.

How to Create Conditional Statements in PHP


Learn how to create conditional statements in PHP with comparison operators and the if, else, elseif, switch, and case statements.

Variables in PHP: Usage, Examples & Data Types


Variables in PHP are pieces of data identified by a name and have the ability to store data of many types.

Include Files in PHP


PHP allows you to include other PHP files using four different statements: include, include_once, require, and require_once.

PHP echo vs. print Statements


PHP has two ways to display output to the screen: echo and print. This tutorial will cover the differences between the two.

How to Trim Characters from a String with PHP


In this tutorial, we'll look into how you can remove whitespace and other characters from a string using the trim function in PHP.

How to Prevent SQL Injections with PHP and MySQLi


Learn how to prevent SQL injections and protect your database using a simple PHP script and connecting to MySQL via MySQLi.

Web Scraping with PHP: Library and Regex Examples


This article explains what web scraping is and how to accomplish it either using a library or regular expressions within PHP.

Minify HTML Page Output with This Simple PHP Script


Learn how to minify HTML output with this simple PHP script to improve web page load speeds and provide a better user experience.

How to Use Memcached in PHP for Faster Load Times


Use Memcached with PHP to improve web page load times, especially with database-intensive and dynamically driven applications.

PHP Arrays: Indexed, Associative & Multi-Dimensional


Learn how to work with PHP's three different array types: indexed arrays, associative arrays, and multi-dimensional arrays.