PHP
5 notes.
wp cache flush doesn’t flush what your site is actually serving
Three times in one week I changed something on this site, verified the change, and watched the old version keep going out. Each time the change was correct. Each time a different cache was holding it — and the command I used to check was quietly testing a layer that wasn't the problem.
How to Use msmtp with PHP’s mail() Function to Send Email
In this guide, let's explore how to set up PHP to use msmtp, a lightweight SMTP client, as its MTA.
PHP Error:0607A082:digital envelope routines:EVP_CI PHER_CTX_set_key_length:invalid key length
If you are trying to use an older version of PHP to connect MYSQL over SSL, there is a good chance that you encounter the following errors: error:0607A082:digital…
WordPress: Fix – Parameter 1 to fdl_the_content() expected to be a reference – error
Today, i moved my blog to a new server. Everything was set up easily. But, when i pulled out a blog post, everything was working correctly, except that…
Magento: Check if an admin is logged in or not
If you are writing a custom module, and you want it to be accessed only by admins, then you possibly need the following code in your controller. 10958139146aa66d72d23f7_000021