stripslashes / wp_unslash with multibyte / mbstring support
One truly annoying thing with WordPress is that it doesn’t use the mbstring extensions at its core. I fully realize how big of a task … Read more
Joaquim Homrighausen
One truly annoying thing with WordPress is that it doesn’t use the mbstring extensions at its core. I fully realize how big of a task … Read more
PHP, for example, has var_dump() and print_r() to facilitate quick variable dumps to log files, etc. For Javascript, one can use console.log() in combination with … Read more
NCweb 0.0.5 has been released, yay 🙂 You can grab a copy here if you’re curious about the changes, if not, carry on. If you … Read more
NCweb is a reasonably small (ish) PHP “application” that will allow you to expose a given folder of a Nextcloud instance and serve documents from … Read more
Using the APIs over at trafiklab.se can yield some quite useful results. I needed to be able to display the commute stop departure times for … Read more
I’ve been using SwiftMailer for as long as I can remember because it’s, IMHO, a great library and far more logical than PHPMailer and “others”. … Read more
Lightbox (or “image preview”) functionality for Bootstrap 4 without additional libraries (apart from jQuery). Written by Joaquim Homrighausen <joho@webbplatsen.se> 30-May-2019 TEAMYUJO Do as you wish … Read more
/* * Simple password construct validator for PHP * Joaquim Homrighausen <joho@webbplatsen.se> * May 30, 2019 * TEAMYUJO * * Do whatever you want with … Read more
Running a PHP script from the command-line, or CLI, is quite useful at times and is often used to perform some automated task, like a … Read more
Computers, Development, WordPress
This is, perhaps, obvious to most PHP developers. But it came somewhat as a surprise to me. Using is_numeric () for validating a WordPress version … Read more