PHP if matching conditions statements
Here are some examples to filter through strings in PHP to meet conditions. PHP functions used during this tutorial are: substr, is_numeric, preg_replace, str_replace and trim. Assume possible strings could…
Here are some examples to filter through strings in PHP to meet conditions. PHP functions used during this tutorial are: substr, is_numeric, preg_replace, str_replace and trim. Assume possible strings could…
Like all great services Bunny CDN has an API. Making use theoretically easier. The storage API allows you to upload files, delete files and list files/directories. I’m interested in the…
Displaying a coding statement or equation visually is a unique way to fully understand what the statement does. A good program for this is Dia, the free software that makes…
How to sort arrays and associative arrays in ascending and descending sort. To sort an array ascending use sort: $array = array(“Car”, “Animal”, “Book”); sort($array);//(“Animal”, “Book”, “Car”) Or with values…
Here is how to point a subdomain to an ip address using an A record in your DNS manager. A subdomain is a part of your main domain…. lets say…
Late 2017 I wrote this post about BunnyCDN, in short the post was about BunnyCDN being the best valued CDN available. However I am fully understanding of cheap isn’t or…
Here is a quick and very easy way to select and display a random image each time the page is loaded. Store the image links in an array and with…
MySQL injection is the method in which “hackers” can get unauthorized data or inject it. Good news is that its easy to fix, bad news is that PHP code with…
Self-hosting refers to hosting a program, service or app rather than using a paid service provider (SaaS). The main reason for self hosting is control. Having control over every part…
MySQL and PHP, the perfect match right?! Well close enough, anyway displaying a table with data from a MySQL database is a common task for a web developer. It’s easily…