Category Archives: PHP

PHP For Loop

The ‘for’ loop in PHP allows you to repeat certain code in an easy and intuitive manner. We’re going to cover the basics of it and also dig deeper into its full potential.
Posted in PHP | Leave a comment

5 Underused PHP Functions

PHP, over the years, has evolved into a vast language with many useful functions that are overlooked. Here’s 5 functions that you have probably never used to help make your next web application easier to create.
Posted in PHP | 16 Comments

Creating a Secure Hash in PHP

When creating a web application with users it is always important to securely hash their password. We are going to go over how to create a hash that is impossible to brute force. We’ll assume that this script is open to the public and anyone can see the algorithm we use – so how do [...]
Posted in PHP | 13 Comments

Optimizing Your PHP Apps

PHP is a very complex language and unfortunately at times it can be quite slow. Here are some easy things you can do that can speed up your application.
Posted in PHP | 6 Comments

Highlighting Words in a String

In this blog post we’ll cover how to create a simple device which highlights a substring (generally words) in a specified string.
Posted in PHP | 1 Comment