PHP TutorialsPHP - the server-side programming language powering over 80% of the web - is now at version 7.1. As an interpreted (as opposed to compiled) language, PHP code is executed in run-time meaning there is no slow compilation step - changes you make in the code are visible instantly, and it is this quick feedback loop that allows for PHP's speed of use. If you're just getting started with PHP, here are some introductory materials to get you up to speed.
How to Embed YouTube videos in bulletin board software such as phpBB, which will not allow you to use the embed code provided by YouTube.
Various methods for sorting a multi-dimensional array in PHP depending on the version of PHP you are using or how the data is organized.
An easy method for blocking website access for specific countries or IP ranges. Just a few lines of code and virtually no server load.
Here is a simple little function in PHP that will truncate a string after X number of characters and add three dots or whatever you specify.
A short script for timing php script execution times which can be used for performance tuning or identifying bottlenecks in your scripts.
PHP snippet to return the first sentence from a string. Very useful for generating post or page excerpts, extracts or meta descriptions.