Some recognition for CodeIgniter as a fast PHP framework in the latest TechEmpower Web Framework benchmarks. This pits CodeIgniter against other popular PHP frameworks like Laravel, CakePHP and Symfony.
CodeIgniter doesn’t get much hype these days but it is fast, small, stable and easy to use.
By default WordPress 5.5 includes an XML sitemap which lists the authors/users on your site. In some cases this is a security risk as it gives a hacker a username to use on the Admin Log In screen.
You may see some posts mention
wp_sitemaps_register_providers this is out of date.
Continue reading “WordPress 5.5 remove Users from XML Sitemap”
If you run a CodeIgniter site on Cloudways hosting you may come across this problem. All the CodeIgniter sites on the server stop working and display the message: “File not found.” with a 404 response.
The problem is caused by Apache 2.4.10 updating to Apache 2.4.25 (PHP FPM and FastCGI).
Continue reading “How to fix CodeIgniter 3 & Cloudways File not found problem”
Creating your own library in CodeIgniter 4 is just as simple as in CI3 but the syntax has changed and there’s no documentation yet so here is my approach.
Continue reading “CodeIgniter 4 – Creating your own libraries”
GUID stands for Globally Unique Identifier. It is a string of letters and numbers and useful to allow website visitors to access a site without needing a username and password because although the probability that a GUID will be duplicated is not zero, it is close enough to zero to be negligible.
In fact Wikipedia says that you would have to generate 2.71 Quintillion (an 18 digit number) GUIDs to have a 50% probability of a collision.
However a GUID isn’t pretty, they look like 204FA460-65C6-DAB0-C69E-013ECE71F5D0 which can be scary to non-technical users when used in a URL.
Continue reading “Alternatives to GUID with PHP”