Checking if image URL is valid in PHP
If downloading images using PHP the first step in avoiding errors is ensuring that the URL is valid. A great method for this is to check the URL HTTP response…
PHP backend web language
If downloading images using PHP the first step in avoiding errors is ensuring that the URL is valid. A great method for this is to check the URL HTTP response…
Putting PHP versions 7.1, 7.2, 7.3 and 7.4 against each other in a simple benchmark driven comparison for time taken to do calculations. Results are from using this benchmark script….
The anticipated PHP 7.4 version was released 28th November 2019 with a handful of new features and a slight speed improvement. Upgrading your now older PHP version can quickly and…
Following on from this post, I use the BunnyCDN PHP API class to create folders, delete and rename files in a Storage zone. Setting my imageBackups Storage zone user and…
The BunnyCDN PHP API class can do many tasks without having to log into BunnyCDN and use the browser GUI. In this post I go through creating a Storage Zone,…
A very comprehensive, feature-packed and easy to use PHP class for the BunnyCDN pull and storage zones API. This class whilst having a major focus on file storage zone interaction…
Whilst using cron to call PHP scripts allows for intervals as low as 1 minute sometimes you may need a lower rate, here is how to call a PHP file…
OpenWeatherMap provides a free tier weather API that is detail-packed and easy to use. The API outline can be seen here, In this post I will cover the current weather…
A MySQL INSERT on duplicate key UPDATE is an all-round excellent query because if a key already exists it will update set values instead of inserting or returning an error….
Showing a MySQL database tables with their columns, type, keys and more is done using the MySQL SHOW syntax. For the tables SHOW TABLES is used whilst to get the…